kubectx
brew install kubectxTool that can switch between kubectl contexts easily and create aliases
https://github.com/ahmetb/kubectx
License: Apache-2.0
Development: Pull requests
Formula JSON API: /api/formula/kubectx.json
Formula code: kubectx.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| sonoma | ✅ | |
| macOS on Intel |
sonoma | ✅ |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 0.11.0 |
| head | ⚡️ | HEAD |
Depends on when building from source:
| go | 1.27.4 | Open source programming language to build simple/reliable/efficient software |
Binaries:
kubectl-ctx,
kubectl-ns,
kubectx,
kubens
GitHub Packages downloads:
| Last 30 days | 25,392 |
|---|---|
| Downloads | 1,528,892 |
| Analytics install events (30 days) | 3,380 |
| Downloads / install events (30 days) | 7.5× |
Source: GitHub Packages, fetched 2026-11-14T00:23:46Z. Analytics dates: 2026-10-15 to 2026-11-14. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 3,375 | 8,011 | 51,594 |
Installs (--HEAD) | 5 | 13 | 98 |
| Installs on Request | 3,209 | 7,761 | 50,674 |
Installs on Request (--HEAD) | 5 | 13 | 98 |
| Build Errors | 1 |