1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/microshift_cli_ref/microshift-oc-cli-install.adoc
2023-10-30 10:13:25 -04:00

23 lines
789 B
Plaintext

:_mod-docs-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 {microshift-short} 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]