CLI
CLI Installation
Install the Kubeadapt CLI via Homebrew, shell script, or build from source. Available for macOS, Linux, and Windows.
Install kubeadapt to query Kubernetes cost data from your terminal.
Homebrew
Homebrew is the recommended install method on macOS and Linux.
bash
brew install kubeadapt/tap/kubeadaptTo upgrade to the latest version:
bash
brew upgrade kubeadapt/tap/kubeadaptInstall script
The install script downloads the correct binary for your OS and architecture and places it in /usr/local/bin.
bash
curl -sSL https://raw.githubusercontent.com/kubeadapt/kubeadapt-cli/main/scripts/install.sh | bashBuild from source
Clone the repository and build with Task.
bash
git clone https://github.com/kubeadapt/kubeadapt-cli.git
cd kubeadapt-cli
task buildThe compiled binary will be in bin/.
Windows
Download the latest .zip from GitHub Releases, extract it, and add the binary to your PATH.
Uninstall
| Method | Command |
|---|---|
| Homebrew | brew uninstall kubeadapt/tap/kubeadapt |
| Install script | rm /usr/local/bin/kubeadapt |
| Source build | Remove the cloned directory |
Verify installation
After installing, confirm the binary is on your PATH:
bash
kubeadapt versionExpected output:
plaintext
kubeadapt v0.5.0
Commit: a1b2c3d
Built: 2026-03-11T10:00:00Z
OS/Arch: darwin/arm64Next
- Authentication: store your API key
- Shell Completions: enable tab completion