---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# kubens

> Utility to switch between Kubernetes namespaces.
> More information: <https://manned.org/kubens>.

- List the namespaces:

`kubens`

- Change the active namespace:

`kubens {{name}}`

- Switch to the previous namespace:

`kubens -`
