kubesnap is a TUI tool that provides an instant cluster status overview and fast switching between cluster contexts/namespaces, offering a streamlined way to manage your Kubernetes environment.
- Cluster Dashboard: Real-time overview of current connection and resource status (Nodes, Pods, Events).
- Context Switching: Fast, fuzzy-searchable cluster context selector.
- Edit Contexts: Rename or Delete contexts directly within the TUI.
- Namespace Switching: Interactive namespace switcher with a
kubesnap ns ~shortcut for default namespace.
brew install hunsy9/kubesnap/kubesnapcurl -sfL https://raw.githubusercontent.com/hunsy9/kubesnap/main/install.sh | shscoop bucket add hunsy9 https://github.com/hunsy9/scoop-bucket
scoop install kubesnap💡 Tip: We recommend aliasing
kubesnaptoksfor speed.Add this to your shell config (
.bashrc,.zshrc, etc.):alias ks='kubesnap'
View current cluster connection and health overview.
$ kubesnapOpen the interactive context switcher and edit your context.
$ kubesnap ctxEnter: Switch to the selected context.rkey: Rename the selected context.dkey: Move to context deletion mode.
Open the interactive namespace switcher
$ kubesnap ns
# or switch to default
$ kubesnap ns ~↑ / ↓: Navigate list/: Search / FilterEnter: Select itemr: Rename contextd: Delete contextq / Esc: Quit / Cancel
Run the install script again or use the following commands:
- Homebrew:
brew upgrade kubesnap - Scoop:
scoop update kubesnap
# Via Homebrew
brew uninstall kubesnap
# Via Script
curl -sfL https://raw.githubusercontent.com/hunsy9/kubesnap/main/uninstall.sh | sh
# Via Scoop
scoop uninstall kubesnapCreated by Seunghun using Bubble Tea.



