macOS
brew install kubectxlocal Homebrew formula metadata
sudo port install kubectxMacPorts ports tree · sysutils/kubectx/Portfile · source: api.github.com
安装
sudo av install brew:kubectxbrew install kubectxlocal Homebrew formula metadata
sudo port install kubectxMacPorts ports tree · sysutils/kubectx/Portfile · source: api.github.com
sudo apk add kubectxAlpine Linux edge package indexes · kubectx · source: dl-cdn.alpinelinux.org
sudo apt install kubectxDebian stable package indexes · kubectx · source: deb.debian.org
nix profile install nixpkgs#kubectxnixpkgs package indexes · pkgs/by-name/ku/kubectx/package.nix · source: api.github.com
sudo pacman -S kubectxArch Linux sync databases · kubectx · source: geo.mirror.pkgbuild.com
sudo zypper install kubectxopenSUSE Tumbleweed package metadata · kubectx · source: download.opensuse.org
choco install kubectxChocolatey community package catalog · kubectx · source: community.chocolatey.org
scoop install main/kubectxScoop official bucket manifest trees · bucket/kubectx.json · source: api.github.com
winget install --id ahmetb.kubectx -eWindows Package Manager source index · ahmetb.kubectx · source: cdn.winget.microsoft.com
概览
Tool that can switch between kubectl contexts easily and create aliases
安全态势
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
kubectl-ctx | cli | global executable | |
kubectl-ns | cli | global executable | |
kubectx | cli | global executable | |
kubens | cli | global executable |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/ahmetb/kubectx
安装元数据
| Package key | brew:kubectx |
|---|---|
| Version | 0.11.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/kubectx |
| Homepage | https://github.com/ahmetb/kubectx |
| Repository | https://github.com/ahmetb/kubectx |
| Upstream docs | https://github.com/ahmetb/kubectx#readme |
| License | Apache-2.0 |
| Source archive | https://github.com/ahmetb/kubectx/archive/refs/tags/v0.11.0.tar.gz |
| Last updated | 2026-03-27T06:59:28Z |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | kubectx |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
kubectx 0.9.5-2+b10
Fast way to switch between clusters and namespaces in kubectl
https://github.com/ahmetb/kubectx
sudo apt install kubectxkubectx
nix profile install nixpkgs#kubectxkubectx 0.9.5-1
Fast way to switch between clusters and namespaces in kubectl
https://github.com/ahmetb/kubectx
sudo apt install kubectxkubectx 0.11.0-r2
Faster way to switch between clusters and namespaces in kubectl
sudo apk add kubectxkubectx-bash-completion 0.11.0-r2
Bash completions for kubectx
sudo apk add kubectx-bash-completionkubectx-fish-completion 0.11.0-r2
Fish completions for kubectx
sudo apk add kubectx-fish-completionkubectx-zsh-completion 0.11.0-r2
Zsh completions for kubectx
sudo apk add kubectx-zsh-completionkubectx 0.11.0-1
Utility to manage and switch between kubectl contexts and Kubernetes namespaces
https://github.com/ahmetb/kubectx
sudo pacman -S kubectxkubectx 0.11.0-1.2
Faster way to switch between clusters and namespaces in kubectl
https://github.com/ahmetb/kubectx
sudo zypper install kubectxkubectx-bash-completion 0.11.0-1.2
Bash Completion for kubectx
https://github.com/ahmetb/kubectx
sudo zypper install kubectx-bash-completionkubectx-fish-completion 0.11.0-1.2
Fish Completion for kubectx
https://github.com/ahmetb/kubectx
sudo zypper install kubectx-fish-completionkubectx-zsh-completion 0.11.0-1.2
Zsh Completion for kubectx
https://github.com/ahmetb/kubectx
sudo zypper install kubectx-zsh-completionkubectx
sudo port install kubectxkubectx
choco install kubectxmain/kubectx
scoop install main/kubectxahmetb.kubectx
winget install --id ahmetb.kubectx -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。