Ever thought of bringing some COLOUR to the
kubectl output in your terminal? This small tool with a self-explanatory name has you covered.
🌈
kubecolor works as a wrapper for your
kubectl command, adding colours to its output. That should be enough to give it a try! Anyway, here are some other brief facts on kubecolor:
- You can customise the colours used in the tool.
- You can use kubecolor as a complete alternative to
kubectl — e.g., add
alias kubectl="kubecolor" to your
.bash_profile.
- It works for both
kubectl and
oc (OpenShift CLI).
- Autocompletion is available. There are instructions for Bash, zsh, fish, and PowerShell.
- Not all kubectl subcommands are supported, and the kubectl plugins’ output is not colorised at the moment.
- It is written in Go and installable as a binary or using Homebrew, Scoop, Nix, AUR, and Termux (Android).
▶️ GitHub repo:
https://github.com/kubecolor/kubecolor P. S. Originally, the project was launched and available at
hidetatz/kubecolor. However, this repo was archived a year ago. Now, it goes on as
kubecolor/kubecolor, which is “a heavily modified version of the original KubeColor”.
#tools #CLI