Install k9s in WSL Ubuntu 22.04.1using 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.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
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. Peruse the documentation over at k9scli.io if you need help using k9s.

Close Bitnami banner
Bitnami