How To Install Kubens In Debian, Ubuntu, Kali And MacOS?
Maintainer: ChangZhuo Chen (u9673u660cu502c)
Email: [email protected] .
Website: https://github.com/ahmetb/kubectx
Section: devel
Install kubens
-
Debian
apt-get install kubectxClick to copy -
Ubuntu
apt-get install kubectxClick to copy -
Kali Linux
apt-get install kubectxClick to copy -
macOS
brew install kubectxClick to copy
Utility to switch between Kubernetes namespaces.
How to use kubens?
Below are few example commands for kubens that you can use in the terminal.
List the namespaces:kubensClick to copyChange the active namespace:kubens nameClick to copySwitch to the previous namespace:kubens -Click to copy
Installation of latest kubens command is available for Debian, Ubuntu, Kali and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.




