kx
kubectl wrapper that references listed Kubernetes resources by index number.
Tested on macOS and Linux
Use it
macOS arm64
You need first
- System packages:
kubectl
brew install jzills/tap/kx
brew install jzills/tap/kxinstall kubectl prerequisite
brew install kubectl
Check that it works
kx --help 2>&1
The output should contain “kubectl, indexed”.
Run kx with a kubectl-style command, such as listing pods, to see numbered rows you can refer to by index.
Linux x86_64
You need first
- System packages:
kubectl
install kx via uv tool
uv tool install kx-cliinstall kubectl prerequisite binary
curl -fsSL -o "$HOME"/.local/bin/kubectl https://dl.k8s.io/release/v1.34.1/bin/linux/amd64/kubectl && chmod +x "$HOME"/.local/bin/kubectl && kubectl version --client
Verified in pickfit: the commands exactly as its sandbox ran them
For the record only: they name the sandbox's home, /home/sbx.
uv tool install kx-clicurl -fsSL -o /home/sbx/.local/bin/kubectl https://dl.k8s.io/release/v1.34.1/bin/linux/amd64/kubectl && chmod +x /home/sbx/.local/bin/kubectl && kubectl version --clientkx --versionkx themeCheck that it works
kx --versionThe output should contain “kx v0.11.0”.
First thing to try
kx themeRun kx with a kubectl-style command, such as listing pods, to see numbered rows you can refer to by index.
What it does
- Refer to listed resources by their index numberNot tested
- Triage a namespace and diagnose unhealthy resourcesNot tested
- Scan workload images for vulnerabilitiesNot tested
- Show the ownership graph for resourcesNot tested
How far pickfit got
macOS arm64
- Installs
- Starts
- 0 of 4 features work
- Works offline
Linux x86_64
- Installs
- Starts
- 0 of 4 features work
- Works offline
Other systems
Windows: the project says it runs there; pickfit hasn’t tried it.
Good for
- list pods with numbered rows
- fetch logs for third listed pod
- diagnose why indexed resource is unhealthy
- read indexed Secret value in plaintext
- scan indexed workload images for CVEs
How pickfit tested it
Each run starts from a clean machine and follows the steps above. How pickfit verifies
macOS arm64
Installs and starts
- Replayed from scratch
- Works offline
- Checked on 1 Nov 2026
- Version v0.11.1
Differences the test machine hit
- README: Requires kubectl on PATH
In the test: brew install kubectl needed before kx is useful
Linux x86_64
Its main function works
- Replayed from scratch
- Works offline
- Checked on 30 Oct 2026
- Version v0.11.0
Differences the test machine hit
- README: Requires kubectl on your PATH
In the test: installed real kubectl v1.34.1 binary to ~/.local/bin via dl.k8s.io release artifact before kx could talk to a cluster; kx --version reported kubectl not found on PATH until then