macOS
brew install openshift-clilocal Homebrew formula metadata
sudo port install ocMacPorts ports tree · sysutils/oc/Portfile · Quelle: api.github.com
brew
Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für openshift-cli in AI-Agent-Workflows.
Installation
brew install openshift-clilocal Homebrew formula metadata
sudo port install ocMacPorts ports tree · sysutils/oc/Portfile · Quelle: api.github.com
sudo zypper install ocopenSUSE Tumbleweed package metadata · oc · Quelle: download.opensuse.org
choco install openshift-cliChocolatey community package catalog · openshift-cli · Quelle: community.chocolatey.org
Überblick
OpenShift command-line interface tools
Verlauf
OpenShift CLI, installed as `oc`, is the command-line client for Red Hat OpenShift and OKD. It layers OpenShift-specific workflows on top of Kubernetes client behavior, so administrators and developers can manage clusters, projects, apps, builds, routes, and resources from a terminal.
OpenShift began as Red Hat's platform-as-a-service effort before the Kubernetes era. Red Hat's 10-year retrospective says OpenShift existed as a beta public cloud service before the OpenShift 1.0 launch at AWS re:Invent 2012, and later evolved toward hybrid cloud and Kubernetes-based infrastructure.
`oc` became the everyday terminal interface for that platform. The `openshift/oc` repository describes it as the OpenShift command line, part of OKD, built on top of `kubectl` while adding commands that simplify interaction with an OpenShift cluster.
Because OpenShift is sold, hosted, and supported across self-managed and managed environments, `oc` is distributed through Red Hat downloads, cluster web consoles, RPMs, Homebrew, and other package managers. Red Hat documentation explicitly treats it as the CLI for working directly with project source code, scripting operations, and managing projects when the web console is unavailable.
The OKD community documentation mirrors the same installation and usage flow, reflecting `oc`'s role across both the commercial OpenShift Container Platform and the community distribution.
Operators use `oc login`, `oc get`, `oc apply`, `oc adm`, and release/admin subcommands to inspect and change clusters. Developers use it to create projects, deploy applications, view logs, expose services, manage builds, and script OpenShift workflows.
The CLI reads the same kubeconfig-style credentials location used by Kubernetes clients, which lets it fit into the broader Kubernetes tooling ecosystem while still exposing OpenShift-specific commands such as project and app helpers.
`oc` is a good example of a package whose name, executable, and upstream identity differ: Homebrew packages `openshift-cli`, the executable is `oc`, and the GitHub repository is `openshift/oc`. It also shows how Kubernetes platform vendors package a superset CLI rather than asking users to compose many separate tools.
Sicherheitslage
Für openshift-cli wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.
Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Credential-bearing paths to review before unattended agent runs.
${HOME}/.kube/config%USERPROFILE%\.kube\configExecutables
| Befehl | Art | Sichtbarkeit | Hinweis |
|---|---|---|---|
oc | cli | globales Executable |
Aktualität
Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.
Installationsmetadaten
| Paketschlüssel | brew:openshift-cli |
|---|---|
| Version | 4.22.5 |
| Paketmanager | Homebrew |
| Paketmanager-Seite | https://formulae.brew.sh/formula/openshift-cli |
| Homepage | https://www.openshift.com/ |
| Repository | https://github.com/openshift/oc |
| Upstream-Dokumentation | https://docs.redhat.com/en/documentation/openshift_container_platform/latest/html/cli_tools/openshift-cli-oc |
| Lizenz | Apache-2.0 |
| Quellarchiv | https://mirror.openshift.com/pub/openshift-v4/clients/ocp/4.22.5/openshift-client-src.tar.gz |
| Zuletzt aktualisiert | 2026-07-22T00:28:22Z |
| Pulse | updated |
| Build-Abhängigkeiten | go |
| Von macOS bereitgestellte Bibliotheken | krb5 |
| Bottle | verfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | nicht definiert |
| Dienst | keiner deklariert |
Registry-Fakten
| 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-Datenbank-Treffer
Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.
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-completionQuellspur
Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.
View the package source record on GitHub.