Download Openshift Cli [upd] May 2026

If you already have access to an OpenShift cluster, you can download the tool directly from the dashboard by clicking the "?" (Help) icon and selecting Command Line Tools .

Open PowerShell or Command Prompt and type oc version . 2. macOS Installation Chapter 2. Getting started with the OpenShift CLI download openshift cli

The most direct way to get the latest stable version is through the OpenShift Mirror. If you already have access to an OpenShift

Move the oc.exe binary to a directory already in your system's PATH , such as C:\Windows , or add a custom folder to your Environment Variables. macOS Installation Chapter 2

For specific enterprise versions, you can log in to the Red Hat Customer Portal to find binaries tailored to your exact cluster version. Installation Guide by Platform 1. Windows Installation