Skip to content
Commitpedia
Log in Join & edit

openshift/oc: the OpenShift command line client

Source code of oc, the OpenShift CLI. It is built on top of kubectl, so it can do everything kubectl does, and adds commands for projects, builds, routes, image streams and cluster administration.

Drafted with AI from official documentation. Scripts were run in a test environment and repository links verified. Awaiting a human check. Did it work for you? Last edited Outdated?

Edit history of openshift/oc: the OpenShift command line client: 1 recorded edit
Edit history · 1 edit
Type
Repo
Edits
1
Editors
1
First issued
15 Oct 2026
Last edit
15 Oct 2026
Source
openshift/oc

openshift/oc

Stars
250
Forks
486
Language
Go
Licence
Apache-2.0
Last push
13 Oct 2026

On GitHub: The OpenShift Command Line, part of OKD

Open on GitHub

oc wraps kubectl, so every kubectl command works and can talk to any conformant Kubernetes cluster. On top of that it adds OpenShift workflows such as new-project, new-app, start-build, expose and the oc adm administrator commands, including must-gather and upgrade.

The repository is useful when you want to build the client yourself (make oc), check how a command is implemented, or report a bug in the CLI. Most users simply download a matching binary from their cluster’s web console or the OKD releases.

Did this work for you?

No votes yet. Be the first.

If it did not work, the report form below tells the editors what went wrong.

See also

History

Every saved edit is kept. The plot on the sleeve draws one line per edit. Open any edit to see exactly what changed.

  1. Dominik +511 chars

Report a problem

Something wrong, unsafe or copied? Tell the editors.
What is wrong?