22.214.171.124. Installing the CLI on Windows
You can install the OpenShift CLI (
oc) binary on Windows by using the following procedure.
- Navigate to the Infrastructure Provider page on the Red Hat OpenShift Cluster Manager site.
- Select your infrastructure provider, and, if applicable, your installation type.
- In the Command line interface section, select Windows from the drop-down menu and click Download command-line tools.
- Unzip the archive with a ZIP program.
ocbinary to a directory that is on your
To check your
PATH, open the command prompt and execute the following command:
After you install the CLI, it is available using the
C:\> oc <command>