Skip to content

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.

As a prerequisite, you must first install kubectl. Some packages listed below will install it for you. But some won’t.

Homebrew version

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

Terminal window
brew install kubecolor

MacPorts version

For MacOS users using the MacPorts package manager.

Terminal window
sudo port install kubecolor

debian version from custom repo

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.

  1. Download the deb file for your architecture from the latest release (found down at the “Assets”)

  2. Install it using your package manager by opening the downloaded deb file

  3. Done 🎉

rpm version from custom repo

Applies to: Fedora, CentOS, RHEL, openSUSE, AlmaLinux, Rocky Linux

Terminal window
sudo dnf install dnf5-plugins
sudo dnf config-manager addrepo --from-repofile https://kubecolor.github.io/packages/rpm/kubecolor.repo
sudo dnf install kubecolor

DNF5 is found in Fedora 41 and later. Run dnf --version to see which version you have.

OpenPGP key fingerprint: 5BC8E65EEE2DB9CBCD44A91762ACB02733C915F1

Scoop Version

For Windows users using the Scoop package manager.

Terminal window
scoop install kubecolor

winget package

For Windows users using the winget package manager.

Terminal window
winget install --id Kubecolor.kubecolor

nixpkgs unstable package

Terminal window
nix-shell -p kubecolor

AUR package

Applies to: Manjaro, ChimeraOS, EndeavourOS

Terminal window
yay -Syu kubecolor

Termux version

For Android users using the Termux app.

Terminal window
pkg install kubecolor

asdf package

For users using the asdf package manager.

Terminal window
asdf install kubecolor latest

In asdf-plugins this refers to dex4er/asdf-kubecolor, which in turn just uses the latest version of kubecolor from our GitHub releases.

aqua version

For users using the aqua package manager.

Terminal window
aqua g -i kubecolor/kubecolor

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

Requires Go 1.22 (or later)

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

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 --env COLORTERM ghcr.io/kubecolor/kubecolor get pods

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.