:_content-type: ASSEMBLY
[id="microshift-oc-cli-install"]
= Getting started with the OpenShift CLI
include::_attributes/attributes-microshift.adoc[]
:context: cli-oc-installing

toc::[]

To use the OpenShift CLI (`oc`) tool, you must download and install it separately from your {product-title} installation.

[id="installing-the-openshift-cli"]
== Installing the OpenShift CLI

You can install the OpenShift CLI (`oc`) either by downloading the binary or by using Homebrew.

// Installing the CLI by downloading the binary
include::modules/cli-installing-cli.adoc[leveloffset=+2]

// Installing the CLI by using Homebrew
include::modules/cli-installing-cli-brew.adoc[leveloffset=+2]

// Installing the CLI using RPM
include::modules/cli-installing-cli-rpm.adoc[leveloffset=+2]