CLI Installation
Install the Kubeadapt CLI via Homebrew, shell script, Go install, 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.
brew install kubeadapt/tap/kubeadaptTo upgrade to the latest version:
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.
curl -sSL https://raw.githubusercontent.com/kubeadapt/kubeadapt-cli/main/scripts/install.sh | bashGo install
If you have Go installed, you can install directly from the module path.
go install github.com/kubeadapt/kubeadapt-cli@latestRequires Go 1.26 or later. The binary will be placed in $GOPATH/bin (or $HOME/go/bin if GOPATH is not set).
Build from source
Clone the repository and build with Task.
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 |
| Go install | rm $(go env GOPATH)/bin/kubeadapt |
| Source build | Remove the cloned directory |
Verify installation
After installing, confirm the binary is on your PATH:
kubeadapt versionYou should see output like:
kubeadapt v0.5.0
Commit: a1b2c3d
Built: 2026-03-11T10:00:00Z
Go version: go1.26.0
OS/Arch: darwin/arm64If kubeadapt: command not found after installation, check that the binary location is in your PATH. For Homebrew: $(brew --prefix)/bin. For Go install: $(go env GOPATH)/bin. For the install script: /usr/local/bin.
Next
- Authentication: store your API key
- Shell Completions: enable tab completion