mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-06 06:46:26 +01:00
23 lines
589 B
Plaintext
23 lines
589 B
Plaintext
|
|
// Module included in the following assemblies:
|
||
|
|
//
|
||
|
|
// * cli_reference/openshift_cli/getting-started.adoc
|
||
|
|
|
||
|
|
:_content-type: PROCEDURE
|
||
|
|
[id="cli-installing-cli-brew_{context}"]
|
||
|
|
= Installing the OpenShift CLI by using Homebrew
|
||
|
|
|
||
|
|
For macOS, you can install the OpenShift CLI (`oc`) by using the link:https://brew.sh[Homebrew] package manager.
|
||
|
|
|
||
|
|
.Prerequisites
|
||
|
|
|
||
|
|
* You must have Homebrew (`brew`) installed.
|
||
|
|
|
||
|
|
.Procedure
|
||
|
|
|
||
|
|
* Run the following command to install the link:https://formulae.brew.sh/formula/openshift-cli[openshift-cli] package:
|
||
|
|
+
|
||
|
|
[source,terminal]
|
||
|
|
----
|
||
|
|
$ brew install openshift-cli
|
||
|
|
----
|