# 使用 Homebrew, MacPorts, Nix 安装 cloudmonkey

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

## 安装

```sh
sudo av install brew:cloudmonkey
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cloudmonkey
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cloudmonkey
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#cloudmonkey
```

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

## 软件包事实

- **软件包键:** brew:cloudmonkey
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/cloudmonkey>
- **版本:** 6.5.0
- **来源摘要:** Apache CloudStack CloudMonkey CLI
- **主页:** <https://github.com/apache/cloudstack-cloudmonkey>
- **仓库:** <https://github.com/apache/cloudstack-cloudmonkey>
- **上游文档:** <https://github.com/apache/cloudstack-cloudmonkey#readme>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/apache/cloudstack-cloudmonkey/archive/refs/tags/6.5.0.tar.gz>
- **最后更新:** 2026-05-25T13:46:37Z
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- cmk (cli)
- cmk (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 6.5.0
- 管理器更新时间: 2026-05-25
- 本地数据: OK
- 上游仓库: https://github.com/apache/cloudstack-cloudmonkey
- 检测到的最新版本: 6.5.0 (当前)
## 项目历史与用法

CloudMonkey is the Apache CloudStack command-line client and interactive shell. It started as a Python CLI for CloudStack 4.0-era installations and later moved to the modern Go-based cmk tool used with newer CloudStack deployments.

### 项目历史

Apache CloudStack's early wiki described cloudmonkey as a Python command-line interface for CloudStack, usable both interactively and as a command-line tool for configuration and management. The modern Apache repository now explains that CloudMonkey was rewritten and simplified in Go, with compatibility for Apache CloudStack 4.9 and later, while the legacy Python version served CloudStack 4.0-incubating and later.

The Go rewrite became the package-manager-relevant lineage: it ships as the cmk executable, stores configuration under ~/.cmk, and is released separately from the main CloudStack server project while remaining part of the Apache CloudStack ecosystem.

### 采用历史

CloudMonkey's adoption follows CloudStack operators rather than the broader cloud-native ecosystem. Apache's downloads page lists CloudMonkey releases next to CloudStack source releases and the CloudStack Terraform provider, and third-party CloudStack operators have documented cmk as the practical front end to the CloudStack API.

### 使用方式

CloudMonkey is used to call CloudStack APIs, manage resources, script administrative tasks, and work in an interactive shell without relying on the web UI. Official repository documentation describes it as simplifying Apache CloudStack configuration and management, and release notes continue to improve CLI mode, output handling, 2FA prompts, autocompletion, and upload workflows.

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

CloudMonkey matters to package maintainers because it represents a long-lived infrastructure CLI that crossed language and distribution eras: a Python PyPI-style tool became a standalone Go binary named cmk, distributed through Homebrew, MacPorts, Nix, Docker, GitHub releases, and Apache source releases. It is also a useful example of an Apache project adjunct tool packaged independently from a larger server platform.

### 时间线

- 2012: Apache CloudStack wiki documented the Python cloudmonkey CLI for CloudStack 4.0-incubating and later.
- 2018: CloudMonkey 6.0 marked the modern Go-based cmk rewrite and simplified feature set.
- 2023: Apache mirrors carried CloudMonkey 6.3.0 source releases.
- 2025: CloudMonkey 6.5.0 added upload improvements, 2FA prompts, and better autocompletion.
- 2026: Apache downloads listed CloudMonkey 6.5.0 as the current CloudMonkey release.

### Related projects

- CloudMonkey is tied directly to Apache CloudStack and its API surface. Nearby operator tools include the Apache CloudStack Terraform Provider, the CloudStack web UI, and automation stacks that call the CloudStack API through libraries or infrastructure-as-code providers.

### 来源

- <https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack%2Bcloudmonkey%2BCLI>
- <https://github.com/apache/cloudstack-cloudmonkey>
- <https://cloudstack.apache.org/downloads/>
- <https://cloudstack.apache.org/blog/cloudmonkey-6.5-release/>
- <https://github.com/apache/cloudstack-cloudmonkey/blob/main/CHANGES.md>


## 安全说明

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



## 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: ~/.cmk/config

## Credential files

- Unix: ~/.cmk/config
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** cloudmonkey
- **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 - cloudmonkey: normalized package name match | nixpkgs package indexes: pkgs/by-name/cl/cloudmonkey/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- MacPorts - cloudmonkey: normalized package name match | MacPorts ports tree: sysutils/cloudmonkey/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Cloud CLI packages](https://www.automicvault.com/zh-hans/pkg/cloud-clis/) - Belongs to a cloud or infrastructure command family.
- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [aiven-client](https://www.automicvault.com/zh-hans/pkg/brew/aiven-client/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure.
- [aliyun-cli](https://www.automicvault.com/zh-hans/pkg/brew/aliyun-cli/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure.
- [aws-shell](https://www.automicvault.com/zh-hans/pkg/brew/aws-shell/) - Shares av.db curated category or tags: cli, cloud-infrastructure, shell.
- [azion](https://www.automicvault.com/zh-hans/pkg/brew/azion/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure.
- [cntb](https://www.automicvault.com/zh-hans/pkg/brew/cntb/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure.
- [convox](https://www.automicvault.com/zh-hans/pkg/brew/convox/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure.
- [denominator](https://www.automicvault.com/zh-hans/pkg/brew/denominator/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure.
- [doctl](https://www.automicvault.com/zh-hans/pkg/brew/doctl/) - Shares av.db curated category or tags: cli, cloud, cloud-infrastructure.
- [qshell](https://www.automicvault.com/zh-hans/pkg/brew/qshell/) - Local package facts share a topical domain. Shared terms: cli, cloud, cloud-infrastructure, infrastructure, shell.

## Combined YAML source

View the package source record on GitHub. [combined/cloudmonkey.yml](https://github.com/automic-vault/db/blob/main/combined/cloudmonkey.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
