macOS
brew install openshift-clilocal Homebrew formula metadata
sudo port install ocMacPorts ports tree · sysutils/oc/Portfile · source: api.github.com
安装
sudo av install brew:openshift-clibrew install openshift-clilocal Homebrew formula metadata
sudo port install ocMacPorts ports tree · sysutils/oc/Portfile · source: api.github.com
sudo zypper install ocopenSUSE Tumbleweed package metadata · oc · source: download.opensuse.org
choco install openshift-cliChocolatey community package catalog · openshift-cli · source: community.chocolatey.org
概览
OpenShift command-line interface tools
安全态势
no executable entrypoint in the package index.
green risk · low confidence · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
oc | cli | global executable |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| Package key | brew:openshift-cli |
|---|---|
| Version | 4.22.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/openshift-cli |
| Homepage | https://www.openshift.com/ |
| Repository | https://github.com/openshift/oc |
| Upstream docs | https://docs.redhat.com/en/documentation/openshift_container_platform/latest/html/cli_tools/openshift-cli-oc |
| License | Apache-2.0 |
| Source archive | https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.22.0/openshift-client-src.tar.gz |
| Last updated | 2026-06-09T23:46:30Z |
| Pulse | updated |
| Build dependencies | go |
| Uses from macOS | krb5 |
| 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 | openshift-cli |
| 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.
openshift-cli
choco install openshift-clioc
sudo port install ococ 4.21.0-1.4
Openshift / OKD Client CLI
https://github.com/openshift/oc
sudo zypper install ococ-bash-completion 4.21.0-1.4
Bash Completion for oc
https://github.com/openshift/oc
sudo zypper install oc-bash-completionoc-fish-completion 4.21.0-1.4
Fish Completion for oc
https://github.com/openshift/oc
sudo zypper install oc-fish-completionoc-zsh-completion 4.21.0-1.4
Zsh Completion for oc
https://github.com/openshift/oc
sudo zypper install oc-zsh-completion来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。