# Install cloudmonkey with Homebrew, MacPorts, Nix

Apache CloudStack CloudMonkey CLI. Version 6.5.0 via Homebrew; verified 2026-05-25.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install cloudmonkey
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cloudmonkey
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:cloudmonkey
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/cloudmonkey>
- **Version:** 6.5.0
- **Source summary:** Apache CloudStack CloudMonkey CLI
- **Homepage:** <https://github.com/apache/cloudstack-cloudmonkey>
- **Repository:** <https://github.com/apache/cloudstack-cloudmonkey>
- **Upstream docs:** <https://github.com/apache/cloudstack-cloudmonkey#readme>
- **License:** Apache-2.0
- **Source archive:** <https://github.com/apache/cloudstack-cloudmonkey/archive/refs/tags/6.5.0.tar.gz>
- **Last updated:** 2026-05-25T13:46:37Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- cmk (cli)
- cmk (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 6.5.0
- Package-manager updated: 2026-05-25
- Local data: ok
- Upstream repository: https://github.com/apache/cloudstack-cloudmonkey
- Upstream latest detected: 6.5.0 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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>


## Security Notes

No matching local secret-handling manifest was found for cloudmonkey. Nucleus package metadata is still published here so future coverage has a stable package 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 Details

- **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

## Other Package-Manager Records

- 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


## Related links

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


## Sources

- 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
