Command-line tool
kubectx
brew/kubectx
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Tool that can switch between kubectl contexts easily and create aliases cli portable golang devops-tools kubernetes kubectl kubernetes-clusters kubectl-plugins
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id ahmetb.kubectx -e scoop install kubectx
macOS
brew install kubectx
Linux
brew install kubectx
List the contexts
kubectx
Switch to a named context
kubectx name
Switch to the previous context
kubectx -
Browse
Related command-line tools
- kubie
Much more powerful alternative to kubectx and kubens - kubens
Utility to switch between Kubernetes namespaces. cli portable golang devops-tools kubernetes kubectl… - monitorprofileswitcher
MonitorProfileSwitcher is a utility to easily switch between multiple monitor profiles on Windows. - nrm
NPM registry manager, fast switch between different registries - kustomize
Template-free customization of Kubernetes YAML manifests docker container kubernetes k8s cluster 容器 集群 - pyenv
Python version management - kubergrunt
Collection of commands to fill in the gaps between Terraform, Helm, and Kubectl - argc
Easily create and use cli based on bash script
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents