Installation
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.
Prerequisites
Section titled “Prerequisites”As a prerequisite, you must first install kubectl. Some packages listed below will install it for you. But some won’t.
Homebrew
Section titled “Homebrew”For MacOS (and some Linux) users using the Homebrew package manager.
brew install kubecolorMacPorts New
Section titled “MacPorts ”For MacOS users using the MacPorts package manager.
sudo port install kubecolorDEB New
Section titled “DEB ”Applies to: Debian, Ubuntu, Pop!_OS, Linux Mint, Elementary OS
Do not use the kubecolor package from debian-unstable or Ubuntu’s
repositories as it is very outdated. Instead, use our custom repo.
Our .deb files are self-bootstrapping, meaning you just have to
install it and it will set up the repository for you so that you
will get any future updates in your package manager.
-
Download the
debfile for your architecture from the latest release (found down at the “Assets”) -
Install it using your package manager by opening the downloaded
debfile -
Done 🎉
sudo apt-get updatesudo apt-get install apt-transport-https wget --yeswget -O /tmp/kubecolor.deb https://kubecolor.github.io/packages/deb/pool/main/k/kubecolor/kubecolor_$(wget -q -O- https://kubecolor.github.io/packages/deb/version)_$(dpkg --print-architecture).debsudo dpkg -i /tmp/kubecolor.debsudo apt updateRPM New
Section titled “RPM ”Applies to: Fedora, CentOS, RHEL, openSUSE, AlmaLinux, Rocky Linux
sudo dnf install dnf5-pluginssudo dnf config-manager addrepo --from-repofile https://kubecolor.github.io/packages/rpm/kubecolor.reposudo dnf install kubecolorDNF5 is found in Fedora 41 and later. Run dnf --version to see which version you have.
OpenPGP key fingerprint: 5BC8E65EEE2DB9CBCD44A91762ACB02733C915F1
sudo dnf install 'dnf-command(config-manager)'sudo dnf config-manager --add-repo https://kubecolor.github.io/packages/rpm/kubecolor.reposudo dnf install kubecolorDNF5 is found in Fedora 40 and earlier. Run dnf --version to see which version you have.
GPG key fingerprint: 5BC8 E65E EE2D B9CB CD44 A917 62AC B027 33C9 15F1
sudo zypper addrepo https://kubecolor.github.io/packages/rpm/kubecolor.reposudo zypper install kubecolorZypper is found in openSUSE
Key fingerprint: 5BC8 E65E EE2D B9CB CD44 A917 62AC B027 33C9 15F1
type -p yum-config-manager >/dev/null || sudo yum install yum-utilssudo yum-config-manager --add-repo https://kubecolor.github.io/packages/rpm/kubecolor.reposudo yum install kubecolorGPG key fingerprint: 5BC8 E65E EE2D B9CB CD44 A917 62AC B027 33C9 15F1
For Windows users using the Scoop package manager.
scoop install kubecolorwinget
Section titled “winget”For Windows users using the winget package manager.
winget install --id Kubecolor.kubecolornix-shell -p kubecolornix shell nixpkgs#kubecolorFlox is a package manager built on top of Nix.
flox install kubecolorAUR (Arch User Repositories)
Section titled “AUR (Arch User Repositories)”Applies to: Manjaro, ChimeraOS, EndeavourOS
yay -Syu kubecolorTermux (Android)
Section titled “Termux (Android)”For Android users using the Termux app.
pkg install kubecolorFor users using the mise-en-place package manager.
mise install kubecolorThis installs the aqua package behind the scenes.
For users using the asdf package manager.
asdf install kubecolor latestIn asdf-plugins this refers to dex4er/asdf-kubecolor, which in turn just uses the latest version of kubecolor from our GitHub releases.
For users using the aqua package manager.
aqua g -i kubecolor/kubecolorDownload binary via GitHub release
Section titled “Download binary via GitHub release”Go to Release page then download the binary which fits your environment.
Compile from source
Section titled “Compile from source”Requires Go 1.22 (or later)
go install github.com/kubecolor/kubecolor@latestDocker
Section titled “Docker”Running it via Docker can be nice for just trying out kubecolor:
docker run --rm -it -v $HOME/.kube:/home/nonroot/.kube:ro --env COLORTERM ghcr.io/kubecolor/kubecolor get podsMissing a repository?
Section titled “Missing a repository?”We only add new repositories and ways to install kubecolor on demand. If you feel like your favorite package manager is missing, then please file a feature request.