# 使用 Homebrew, apk, MacPorts, Nix, pacman, scoop, winget 安装 argocd

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

## 安装

```sh
sudo av install brew:argocd
```

## 代理安全回答

argocd controls GitOps applications and live cluster deployment state.

- **凭据访问:** Reads Argo CD tokens, kubeconfig, and repository credentials.
- **远程变更:** Can sync, rollback, delete, and change applications.
- **发布/制品风险:** Can deploy Git-sourced artifacts into clusters.
- **推荐控制:** Gate sync, app delete, rollback, and credential commands.
- **代理使用指南:** Allow app status reads; require approval for syncs, deletes, and project changes.

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install argocd
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install argocd
```

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

### Linux

- apk (92%):

```sh
sudo apk add argocd
```

  证据: Alpine Linux edge package indexes: argocd from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#argocd
```

  证据: nixpkgs package indexes: pkgs/by-name/ar/argocd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S argocd
```

  证据: Arch Linux sync databases: argocd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/argocd
```

  证据: Scoop official bucket manifest trees: bucket/argocd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id argoproj.argocd -e
```

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

## 软件包事实

- **软件包键:** brew:argocd
- **软件包管理器:** Homebrew
- **版本:** 3.4.6
- **来源摘要:** GitOps Continuous Delivery for Kubernetes
- **主页:** <https://argoproj.github.io/cd/>
- **仓库:** <https://github.com/argoproj/argo-cd>
- **最后更新:** 2026-07-31T15:10:55Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- argocd (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.4.6
## 项目历史与用法

Argo CD is a declarative GitOps continuous delivery system for Kubernetes. It continuously compares application definitions stored in Git with the live cluster state and drives Kubernetes resources toward the declared desired state.

### 项目历史

Argo CD is part of the Argo project family. The upstream README describes the project as declarative continuous delivery for Kubernetes and emphasizes version-controlled application definitions plus automated, auditable lifecycle management.

CNCF records Argo as accepted on March 26, 2020 at the Incubating maturity level and promoted to Graduated on December 6, 2022. That graduation is the official marker that Argo, including Argo CD as the best-known GitOps component, had become stable and broadly adopted in cloud-native production environments.

### 采用历史

Argo CD adoption grew with GitOps and Kubernetes platform engineering. The upstream repository maintains an official users list with hundreds of organizations and the CNCF project page links case studies and project insights, indicating use by large enterprises, cloud-native vendors, universities, and platform teams.

Its package-manager footprint reflects that adoption: the input records Homebrew, apk, MacPorts, Nix, pacman, Scoop, and WinGet packages, which is typical for a CLI that developers run locally while operators deploy the controller in clusters.

### 使用方式

The `argocd` CLI is used to log in to an Argo CD API server, manage application definitions, sync or inspect applications, switch contexts, and configure local client state. Official command docs show the client config path defaulting to an XDG-style `argocd/config` file and the `argocd configure` command managing local configuration.

Operationally, package users often install the CLI with Homebrew for day-to-day interaction while installing the controller via manifests or Helm in Kubernetes. The package is therefore both a workstation tool and a control-plane companion.

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

Argo CD is one of the packages that made `brew install argocd` feel normal for Kubernetes operators: a Go CLI with frequent releases, completions, auth material in a local config file, and tight coupling to a Kubernetes-native controller.

It also represents a modern packaging split: the formula supplies the CLI binary, while most runtime deployment happens through Kubernetes YAML or Helm charts. That split is common for cloud-native tools but still important for reproducible developer laptops and automation runners.

### 时间线

- 2020-03-26: Argo accepted into CNCF at Incubating maturity.
- 2022-12-06: Argo promoted to CNCF Graduated maturity.
- Current: Upstream README lists Argo CD as declarative GitOps continuous delivery for Kubernetes and links official docs, user list, releases, and community channels.

### Related projects

- Other Argo projects include Argo Workflows, Argo Rollouts, and Argo Events.
- Argo CD Image Updater, ApplicationSet, Helm, Kustomize, and config-management plugins are common ecosystem companions.

### 来源

- <https://argo-cd.readthedocs.io/en/stable/user-guide/commands/argocd/>
- <https://github.com/argoproj/argo-cd>
- <https://raw.githubusercontent.com/argoproj/argo-cd/master/USERS.md>
- <https://www.cncf.io/projects/argo/>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: ~/.argocd/config, $XDG_CONFIG_HOME/argocd/config, ~/.config/argocd/config

## Credential files

- Unix: ~/.argocd/config, $XDG_CONFIG_HOME/argocd/config, ~/.config/argocd/config
## 其他软件包管理器记录

- Nix - argocd: normalized package name match | nixpkgs package indexes: pkgs/by-name/ar/argocd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - argocd - 3.4.1-r2: normalized package name match | Alpine Linux edge package indexes: argocd from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Declarative continuous deployment for Kubernetes | https://argo-cd.readthedocs.io/
- apk - argocd-bash-completion - 3.4.1-r2: normalized package name match | Alpine Linux edge package indexes: argocd-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for argocd | https://argo-cd.readthedocs.io/
- apk - argocd-doc - 3.4.1-r2: normalized package name match | Alpine Linux edge package indexes: argocd-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Declarative continuous deployment for Kubernetes (documentation) | https://argo-cd.readthedocs.io/
- apk - argocd-zsh-completion - 3.4.1-r2: normalized package name match | Alpine Linux edge package indexes: argocd-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for argocd | https://argo-cd.readthedocs.io/
- pacman - argocd - 3.4.2-1: normalized package name match | Arch Linux sync databases: argocd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Declarative continuous deployment for Kubernetes | https://argo-cd.readthedocs.io/en/stable/
- MacPorts - argocd: normalized package name match | MacPorts ports tree: devel/argocd/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/argocd: normalized package name match | Scoop official bucket manifest trees: bucket/argocd.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - argoproj.argocd: normalized package name match | Windows Package Manager source index: argoproj.argocd from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
- curated agent safety answer
