# 使用 Homebrew, MacPorts, Nix, winget 安装 infisical

查看 infisical 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:infisical
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install infisical
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install infisical
```

  证据: MacPorts ports tree: security/infisical/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#infisical
```

  证据: nixpkgs package indexes: infisical from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- winget (92%):

```sh
winget install --id infisical.infisical -e
```

  证据: Windows Package Manager source index: infisical.infisical from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:infisical
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/infisical>
- **版本:** 0.43.116
- **来源摘要:** CLI for Infisical
- **主页:** <https://infisical.com/docs/cli/overview>
- **仓库:** <https://github.com/Infisical/cli>
- **上游文档:** <https://infisical.com/docs/cli/overview>
- **许可证:** MIT
- **源码归档:** <https://github.com/Infisical/cli/archive/refs/tags/v0.43.116.tar.gz>
- **最后更新:** 2026-08-04T17:43:37Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- infisical (cli)
- infisical (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.43.116
- 管理器更新时间: 2026-08-04
- 本地数据: OK
- 上游仓库: https://github.com/Infisical/cli
- 检测到的最新版本: v0.43.116 (当前)
## 项目历史与用法

Infisical CLI is the command-line interface for Infisical, an open-source security infrastructure platform for secrets, certificates, and privileged access management. The CLI focuses on secret retrieval, injection into processes, export, authentication, and automation.

### 项目历史

Infisical's main open-source project frames the platform around making security tooling more accessible to developer teams. The separate CLI repository presents infisical as the official command-line tool for injecting secrets into applications and managing Infisical infrastructure.

The CLI grew around developer workflow needs: local login, project initialization, .infisical.json project settings, environment-variable injection through infisical run, machine-identity authentication, export to dotenv/YAML formats, and support for Infisical Cloud or self-hosted domains.

### 采用历史

Infisical distributes the CLI through several channels: Homebrew, Scoop, winget, npm, Linux package repositories, Arch User Repository, and GitHub release binaries. The Linux repository migration from Cloudsmith to artifacts-cli.infisical.com shows that the CLI became important enough to warrant dedicated artifact hosting.

### 使用方式

Users install the CLI, run infisical login, initialize a project, and use infisical run to inject environment variables into local development, CI/CD, staging, or production commands. Non-interactive workflows can authenticate with machine identity credentials and pass an access token through INFISICAL_TOKEN.

The CLI also covers secret export and secret scanning. The usage docs warn that terminal history can retain commands that set secrets, which is a small but important operational detail for a secrets-management CLI.

### 为什么软件包爱好者会关心

Infisical CLI is a modern DevSecOps package: it exists so secrets-management workflows can be scripted, pinned, installed by package managers, and used in CI containers without a browser UI. For package maintainers, the important part is not only the binary but also the artifact-hosting, version-pinning, and environment-variable contract around it.

### 时间线

- 2022: Infisical platform repository created as an open-source secrets-management project.
- 2024: Infisical CLI package-manager distribution appears across Homebrew, npm, winget, and other channels.
- 2025: CLI docs describe v0.4.0 behavior for choosing Infisical Cloud regions or self-hosted instances during login.
- 2026: CLI Linux package repository migration scheduled from Cloudsmith to artifacts-cli.infisical.com.

### Related projects

- The Infisical platform repository is the server and product counterpart. HashiCorp Vault is a related secrets-management category reference named in Infisical repository topics. npm, Homebrew, Scoop, winget, AUR, and Linux package repositories are part of the CLI distribution story.

### 来源

- <https://github.com/Infisical/cli>
- <https://github.com/Infisical/infisical>
- <https://infisical.com/docs/cli/overview>
- <https://infisical.com/docs/cli/usage>


## 安全说明

没有找到 infisical 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** infisical
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 其他软件包管理器记录

- Nix - infisical: normalized package name match | nixpkgs package indexes: infisical from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- MacPorts - infisical: normalized package name match | MacPorts ports tree: security/infisical/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - infisical.infisical: normalized package name match | Windows Package Manager source index: infisical.infisical from https://cdn.winget.microsoft.com/cache/source.msix


## 相关链接

- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/zh-hans/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Documentation packages](https://pkg.so/zh-hans/documentation-tools/) - Matched documentation, manual, or publishing metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [doppler](https://pkg.so/zh-hans/brew/doppler/) - Shares pkgdb curated category or tags: cli, devops, environment-variables, secrets-management, security.
- [openbao](https://pkg.so/zh-hans/brew/openbao/) - Shares pkgdb curated category or tags: cli, secrets-management, security.
- [chamber](https://pkg.so/zh-hans/brew/chamber/) - Shares pkgdb curated category or tags: cli, devops, secrets-management, security.
- [varlock](https://pkg.so/zh-hans/brew/varlock/) - Shares pkgdb curated category or tags: cli, environment-variables, secrets-management, security.
- [teller](https://pkg.so/zh-hans/brew/teller/) - Shares pkgdb curated category or tags: cli, environment-variables, security.
- [gnutls](https://pkg.so/zh-hans/brew/gnutls/) - Shares pkgdb curated category or tags: cli, security.
- [krb5](https://pkg.so/zh-hans/brew/krb5/) - Shares pkgdb curated category or tags: cli, security.
- [nettle](https://pkg.so/zh-hans/brew/nettle/) - Shares pkgdb curated category or tags: cli, security.
- [envchain](https://pkg.so/zh-hans/brew/envchain/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, environment, environment-variables, management, secret.

## Combined YAML source

View the package source record on GitHub. [combined/infisical.yml](https://github.com/mxcl/pkgdb/blob/main/combined/infisical.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
