# 使用 Homebrew, apk, Nix, pacman, zypper, winget 安装 cilium-cli

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

## 安装

```sh
sudo av install brew:cilium-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cilium-cli
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add cilium-cli
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#cilium-cli
```

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

- pacman (92%):

```sh
sudo pacman -S cilium-cli
```

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

- zypper (92%):

```sh
sudo zypper install cilium-cli
```

  证据: openSUSE Tumbleweed package metadata: cilium-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

### Windows

- winget (92%):

```sh
winget install --id Cilium.CiliumCLI -e
```

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

## 软件包事实

- **软件包键:** brew:cilium-cli
- **软件包管理器:** Homebrew
- **版本:** 0.19.7
- **来源摘要:** CLI to install, manage & troubleshoot Kubernetes clusters running Cilium
- **主页:** <https://cilium.io>
- **仓库:** <https://github.com/cilium/cilium-cli>
- **最后更新:** 2026-07-29T00:07:37Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cilium (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Cilium CLI is the official command-line installer, manager, and troubleshooting tool for Kubernetes clusters running Cilium, the eBPF-based networking, security, and observability platform.

### 项目历史

The cilium/cilium-cli repository was created in December 2020. Its early public releases began with v0.1 in February 2021, aligning with the project's move toward a dedicated CLI for cluster installation, status checks, Hubble enablement, connectivity testing, ClusterMesh, and related operations.

The CLI is maintained as a separate Go repository from the main Cilium datapath and control-plane repository, but its README and Cilium documentation present it as the standard quick-install path for Cilium users.

### 采用历史

Cilium's official quick-install documentation instructs users to install the Cilium CLI before installing Cilium into a Kubernetes cluster. That placement makes the CLI a front door for new Cilium deployments rather than only an optional helper.

The input records packages across Homebrew, Alpine, Nix, Arch, winget, and zypper. Homebrew's formula API currently reports more than one thousand 30-day install-on-request events, which is strong package-manager adoption for a specialized Kubernetes networking CLI.

### 使用方式

Common documented commands include cilium install, cilium status, cilium hubble enable, cilium connectivity test, cilium connectivity perf, and ClusterMesh setup. The README also lists supported environments such as minikube, kind, EKS, GKE, AKS BYOCNI, k3s, and self-managed clusters.

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

For package maintainers, cilium-cli is a modern cloud-native operations binary with frequent releases, official multi-OS binary artifacts, and compatibility tracking against Cilium versions. It is also a good example of package managers distributing the operational CLI separately from the Kubernetes workloads it manages.

### 时间线

- 2020-12-22: cilium/cilium-cli repository created.
- 2021-02-15: v0.1 release published.
- 2021: README documents installation, status, Hubble, connectivity tests, performance tests, and ClusterMesh capabilities.
- 2026-06-25: v0.19.5 release published.
- 2026: Homebrew packages cilium-cli 0.19.5 and the input records broad Linux/macOS/Windows package-manager coverage.

### Related projects

- Cilium is the Kubernetes networking, security, and observability system managed by the CLI.
- Hubble is the observability component enabled and tested through cilium hubble and cilium connectivity commands.
- ClusterMesh is a Cilium multi-cluster feature with CLI setup flows documented in the README.

### 来源

- <https://github.com/cilium/cilium-cli#readme>
- <https://docs.cilium.io/en/stable/gettingstarted/k8s-install-default/>
- <https://api.github.com/repos/cilium/cilium-cli>
- <https://api.github.com/repos/cilium/cilium-cli/releases>
- <https://formulae.brew.sh/api/formula/cilium-cli.json>


## 安全说明

infrastructure mutation or orchestration signal.

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

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

- Nix - cilium-cli: normalized package name match | nixpkgs package indexes: pkgs/by-name/ci/cilium-cli/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - cilium-cli - 0.19.2-r3: normalized package name match | Alpine Linux edge package indexes: cilium-cli from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | CLI to install, manage and troubleshoot Kubernetes clusters running Cilium | https://cilium.io/
- apk - cilium-cli-bash-completion - 0.19.2-r3: normalized package name match | Alpine Linux edge package indexes: cilium-cli-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Bash completions for cilium-cli | https://cilium.io/
- apk - cilium-cli-fish-completion - 0.19.2-r3: normalized package name match | Alpine Linux edge package indexes: cilium-cli-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Fish completions for cilium-cli | https://cilium.io/
- apk - cilium-cli-zsh-completion - 0.19.2-r3: normalized package name match | Alpine Linux edge package indexes: cilium-cli-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Zsh completions for cilium-cli | https://cilium.io/
- pacman - cilium-cli - 0.19.4-1: normalized package name match | Arch Linux sync databases: cilium-cli from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | install, manage & troubleshoot Kubernetes clusters running Cilium | https://github.com/cilium/cilium-cli
- zypper - cilium-cli - 0.19.7-1.1: normalized package name match | openSUSE Tumbleweed package metadata: cilium-cli from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI to install, manage & troubleshoot Kubernetes clusters running Cilium | https://github.com/cilium/cilium-cli
- zypper - cilium-cli-bash-completion - 0.19.7-1.1: normalized package name match | openSUSE Tumbleweed package metadata: cilium-cli-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for cilium-cli | https://github.com/cilium/cilium-cli
- zypper - cilium-cli-fish-completion - 0.19.7-1.1: normalized package name match | openSUSE Tumbleweed package metadata: cilium-cli-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for cilium-cli | https://github.com/cilium/cilium-cli
- zypper - cilium-cli-zsh-completion - 0.19.7-1.1: normalized package name match | openSUSE Tumbleweed package metadata: cilium-cli-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for cilium-cli | https://github.com/cilium/cilium-cli
- winget - Cilium.CiliumCLI: normalized package name match | Windows Package Manager source index: Cilium.CiliumCLI from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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


## 来源

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