Skip to content

Installation

As a prerequisite, you must first install kubectl.

Kubecolor can be installed in various ways through a number of package managers. If you don’t have any of the package managers available, then consider downloading the binary.

The badges below each section show the latest version available for that package repository. Green means that it’s up-to-date, while red means outdated.

Homebrew

Homebrew version

For MacOS (and some Linux) users using the Homebrew package manager.

Terminal window
brew install kubecolor

Scoop

Scoop Version

For Windows users using the Scoop package manager.

Terminal window
scoop install kubecolor

Nix

nixpkgs unstable package

Terminal window
nix-shell -p kubecolor

AUR (Arch User Repositories)

AUR package

For Arch-Linux users (e.g Manjaro, ChimeraOS, EndeavourOS).

Terminal window
yay -Syu kubecolor

Termux (Android)

Termux version

For Android users using the Termux app.

Terminal window
pkg install kubecolor

asdf

For users using the asdf package manager.

Terminal window
asdf install kubecolor latest

mise

For users using the mise package manager.

Terminal window
mise use kubecolor

Download binary via GitHub release

Go to Release page then download the binary which fits your environment.

Compile from source

Requires Go 1.22 (or later)

Terminal window
go install github.com/kubecolor/kubecolor@latest

Docker

Running it via Docker can be nice for just trying out kubecolor:

Terminal window
docker run --rm -it -v $HOME/.kube:/home/nonroot/.kube:ro ghcr.io/kubecolor/kubecolor get pods