Install k9s in WSL Ubuntu 22.04.1 using Homebrew

My only experience with k8s frontends are the web-based Kubernetes Dashboard and k9s. I prefer k9s. Here’s a straight-forward way to install k9s in WSL running Ubuntu 22.04.1 using Homebrew. I use the zsh shell.

I enjoy k9s because it uses familiar kubectl’ish syntax and provides a nice terminal-based visualization of your targeted Kubernetes context. It’s fast and lightweight.

/bin/bash -c "$(curl -fsSL"
echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /home/slade/.zprofile
echo 'eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"' >> /home/slade/.zprofile
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
sudo apt-get install build-essential
brew install gcc
brew install derailed/k9s/k9s

And that’s a wrap. Simply run k9s from your terminal by typing ‘k9s’. Peruse the documentation over at if you need help using k9s.

Leave a comment

Close Bitnami banner