# 使用 Homebrew, apk, MacPorts, Nix, pacman, zypper, scoop 安装 cmctl

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

## 安装

```sh
sudo av install brew:cmctl
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cmctl
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cmctl
```

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

### Linux

- apk (92%):

```sh
sudo apk add cmctl
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#cmctl
```

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

- pacman (92%):

```sh
sudo pacman -S cmctl
```

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

- zypper (92%):

```sh
sudo zypper install cmctl
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/cmctl
```

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

## 软件包事实

- **软件包键:** brew:cmctl
- **软件包管理器:** Homebrew
- **版本:** 2.5.0
- **来源摘要:** Command-line tool to manage cert-manager
- **主页:** <https://cert-manager.io>
- **仓库:** <https://github.com/cert-manager/cmctl>
- **最后更新:** 2026-07-27T22:04:02+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cmctl (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

cmctl is the command-line companion for cert-manager, focused on managing cert-manager resources inside Kubernetes clusters.

### 项目历史

The official README states that before v2, cmctl lived in the cert-manager repository and was versioned together with cert-manager. Starting with v2, cmctl is versioned separately in its own repository.

The standalone GitHub repository was created in January 2024 and its release stream begins with v2.0.0 prereleases and v2.0.0 in March 2024.

### 采用历史

cmctl follows cert-manager into Kubernetes operator workflows: it can inspect certificates, approve or deny CertificateRequests, check cert-manager health, and assist with installation, upgrade, and uninstall tasks. The official README documents Homebrew, Go install, manual release binaries, shell completion, and distributed third-party packages.

### 使用方式

Official docs describe `cmctl` as a tool for managing cert-manager resources inside a cluster. Typical usage is operational rather than general-purpose: checking API health, inspecting Certificate and CertificateRequest objects, approving or denying requests, and using experimental `cmctl x` subcommands around cert-manager installation and lifecycle tasks.

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

cmctl matters to package nerds because it is a Kubernetes ecosystem CLI with multiple distribution channels: Homebrew on macOS/Linux, Go install, GitHub release binaries, shell completions, and distro packages. Its separate v2 versioning is a packaging boundary: the CLI can now release independently of the controller it manages.

### 时间线

- 2024-01: Standalone cmctl repository created.
- 2024-03: v2.0.0 released, establishing the separately versioned CLI line.
- 2024-06: v2.1.0 released.
- 2025: v2.2.0 and later releases continue the standalone series.

### Related projects

- cmctl is directly related to cert-manager and Kubernetes. The README also documents an alternate installation name, `kubectl-cert_manager`, for use as a kubectl plugin-style command.

### 来源

- <https://github.com/cert-manager/cmctl#readme>
- <https://cert-manager.io/docs/reference/cmctl/>
- <https://api.github.com/repos/cert-manager/cmctl>
- <https://api.github.com/repos/cert-manager/cmctl/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

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

- Nix - cmctl: normalized package name match | nixpkgs package indexes: pkgs/by-name/cm/cmctl/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - cmctl - 2.4.1-r3: normalized package name match | Alpine Linux edge package indexes: cmctl from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Command-line tool for interacting with cert-manager | https://cert-manager.io/
- apk - cmctl-bash-completion - 2.4.1-r3: normalized package name match | Alpine Linux edge package indexes: cmctl-bash-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Bash completions for cmctl | https://cert-manager.io/
- apk - cmctl-fish-completion - 2.4.1-r3: normalized package name match | Alpine Linux edge package indexes: cmctl-fish-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Fish completions for cmctl | https://cert-manager.io/
- apk - cmctl-zsh-completion - 2.4.1-r3: normalized package name match | Alpine Linux edge package indexes: cmctl-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for cmctl | https://cert-manager.io/
- apk - kubectl-cert-manager - 2.4.1-r3: normalized package name match | Alpine Linux edge package indexes: kubectl-cert-manager from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Use cmctl as a kubectl plugin | https://cert-manager.io/
- pacman - cmctl - 2.5.0-1: normalized package name match | Arch Linux sync databases: cmctl from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | CLI tool manage and configure cert-manager resources for Kubernetes | https://github.com/cert-manager/cmctl
- zypper - cmctl - 2.5.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: cmctl from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | CLI tool that can help you to manage cert-manager resources inside your cluster | https://github.com/cert-manager/cmctl
- zypper - cmctl-bash-completion - 2.5.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: cmctl-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for cmctl | https://github.com/cert-manager/cmctl
- zypper - cmctl-fish-completion - 2.5.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: cmctl-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for cmctl | https://github.com/cert-manager/cmctl
- zypper - cmctl-zsh-completion - 2.5.0-1.4: normalized package name match | openSUSE Tumbleweed package metadata: cmctl-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for cmctl | https://github.com/cert-manager/cmctl
- MacPorts - cmctl: normalized package name match | MacPorts ports tree: sysutils/cmctl/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/cmctl: normalized package name match | Scoop official bucket manifest trees: bucket/cmctl.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/cmctl.yml](https://github.com/mxcl/pkgdb/blob/main/combined/cmctl.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
