Install¶
Choose one install method:
- Homebrew if you want the simplest native install
- PowerShell Gallery if you want
Invoke-KubeBuddy - build from source if you are developing locally
Recommended: Homebrew¶
brew tap KubeDeckio/homebrew-kubebuddy
brew install kubebuddy
kubebuddy version
Use this on macOS or Linux when you want the native CLI on PATH.
PowerShell Gallery¶
Install-Module -Name KubeBuddy -Repository PSGallery -Scope CurrentUser
Invoke-KubeBuddy
The PSGallery module bundles the native binary for supported platforms. You do not need to install the Go binary separately for normal use.
Build From Source¶
go build -o kubebuddy ./cmd/kubebuddy
./kubebuddy version
Use this when working from the repo or testing local changes.
Requirements¶
kubectlconfigured for the cluster you want to scan- read access to the cluster
- for AKS:
- Azure auth for local native/PowerShell runs
- or service principal credentials for containerized runs
Next Step¶
Go to Getting Started.