DEV Community

Cover image for Install K9s utility on Ubuntu server
Sergio Peris
Sergio Peris

Posted on • Originally published at sertxu.dev

Install K9s utility on Ubuntu server

K9s is a utility that provides a terminal UI to interact with your Kubernetes clusters.

To install it we need to download the latest release from GitHub.

wget https://github.com/derailed/k9s/releases/download/v0.50.6/k9s_linux_amd64.deb
Enter fullscreen mode Exit fullscreen mode

Once we've downloaded the package compatible with our system, we can install it.

dpkg -i k9s_linux_amd64.deb
Enter fullscreen mode Exit fullscreen mode

Now we've installed K9s, but it doesn't know how to operate our K8s cluster, so we should export the K8s cluster configuration.

kubectl config view --raw > $HOME/.kube/config
Enter fullscreen mode Exit fullscreen mode

Now we've finished the K9s installation and we're ready to start using it.

Top comments (0)