2023-10-30 08:48:20 -04:00
:_mod-docs-content-type: ASSEMBLY
2023-02-23 16:15:39 -05:00
[id="microshift-oc-cli-install"]
2023-02-02 17:01:58 -05:00
= Getting started with the OpenShift CLI
include::_attributes/attributes-microshift.adoc[]
2025-01-14 16:17:25 -05:00
:context: microshift-oc-cli-install
2023-02-02 17:01:58 -05:00
toc::[]
2024-08-28 10:14:11 -04:00
To use the {oc-first} tool, you must download and install it separately from your {microshift-short} installation. You can install `oc` by downloading the binary or by using Homebrew.
2023-02-02 17:01:58 -05:00
// Installing the CLI by downloading the binary
2024-08-28 10:14:11 -04:00
include::modules/cli-installing-cli.adoc[leveloffset=+1]
2023-02-02 17:01:58 -05:00
// Installing the CLI by using Homebrew
2024-08-28 10:14:11 -04:00
include::modules/cli-installing-cli-brew.adoc[leveloffset=+1]
2023-02-02 17:01:58 -05:00
// Installing the CLI using RPM
2024-08-28 10:14:11 -04:00
include::modules/cli-installing-cli-rpm.adoc[leveloffset=+1]