K9s is an interactive Kubernetes terminal that makes it easy to monitor and manage your Kubernetes cluster. This tutorial will show you how to install K9s on Mac or Linux.
| Platform | Command |
|---|---|
| Linux | curl -L https://github.com/derailed/k9s/releases/latest/download/k9s_Linux_x86_64.tar.gz | tar zx |
| Mac OS | curl -L https://github.com/derailed/k9s/releases/latest/download/k9s_Darwin_x86_64.tar.gz | tar zx |
$PATH. For example:sudo mv k9s /usr/local/bin
sudo chmod +x /usr/local/bin/k9s
k9s cluster --kubeconfig <path_to_your_kubeconfig_file>
k9s
You have now installed K9s on your Mac or Linux machine and connected to your Kubernetes cluster. You can start using K9s to manage and monitor your cluster.