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,488 |
|---|---|
| Downloads | 1,546,278 |
| Analytics install events (30 days) | 3,092 |
| Downloads / install events (30 days) | 8.2× |
Source: GitHub Packages, fetched 2026-12-04T01:05:55Z. Analytics dates: 2026-11-04 to 2026-12-04. 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,090 | 8,082 | 51,442 |
Installs (--HEAD) | 2 | 10 | 89 |
| Installs on Request | 2,817 | 7,696 | 50,369 |
Installs on Request (--HEAD) | 2 | 10 | 89 |
| Build Errors | 1 |