About Kubie
Kubie positions itself as an alternative to kubectx, kubens and the k-on-prompt script. It offers context switching, namespace switching and prompt changes in a way that keeps each shell independent of the others, so changing context in one terminal does not alter another. It can also load Kubernetes contexts from several configuration files, and the search paths are configurable.
Commands include kubie ctx and kubie ns to switch, with a dash to return to the previous one and -r to start a recursive shell. kubie exec runs a command in a given context and namespace without opening a shell, including across all contexts matched by a wildcard, and -e stops on the first failure. kubie lint scans config files for issues, kubie export prints the path of an isolated config file, kubie edit opens the file for a context, and kubie update checks for a newer release.
Settings live in ~/.kube/kubie.yaml: the shell to use (bash, dash, fish, xonsh or zsh), a default editor, include and exclude globs for config files, and prompt options such as hiding the prompt or showing depth. Installation is through a downloadable binary for Linux or OS X, cargo, Homebrew, MacPorts, Nix or Arch Linux. The README opens with a note pointing to an issue about the future of Kubie development.
Key features
- Independent context and namespace per shell
- Loads contexts from several config files
- Runs a command in a context without spawning a shell
- Lints Kubernetes config files
- Exec across contexts matched by a wildcard
- Configurable through a YAML settings file
Good fit for
- Switch clusters per terminal
- Run a command across many contexts
- Check kubeconfig files for problems
Kubie: questions and answers
- What is Kubie used for?
- Kubie is a Rust tool for switching Kubernetes contexts and namespaces, giving each shell its own independent selection. It is a good fit for switch clusters per terminal, run a command across many contexts and check kubeconfig files for problems.
- Is Kubie open source?
- Yes. Kubie is open source under the Zlib licence. Its source code is on GitHub at kubie-org/kubie and is written mainly in Rust.
- Is Kubie free?
- Yes. Kubie is open source, so the software itself is free to use.
- Can I self-host Kubie?
- Yes. Kubie can be self-hosted on your own server or infrastructure.
- Is Kubie actively maintained?
- Yes. The most recent commit to Kubie was on 24 October 2026, and the latest release is v0.28.0, published on 25 May 2026. The project has 2.7k stars on GitHub, with 22 added in the last 30 days.