Skip to content

Commit 5af0be0

Browse files
xercbergerhoffer
authored andcommitted
include HomeBrew @ cli-installing
1 parent 1b43660 commit 5af0be0

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

cli_reference/openshift_cli/getting-started-cli.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ ifndef::openshift-origin[]
3434
include::modules/cli-installing-cli-rpm.adoc[leveloffset=+2]
3535
endif::[]
3636

37+
// Installing the CLI by using Homebrew
38+
include::modules/cli-installing-cli-brew.adoc[leveloffset=+2]
39+
3740
// Logging in to the CLI
3841
include::modules/cli-logging-in.adoc[leveloffset=+1]
3942

modules/cli-installing-cli-brew.adoc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * cli_reference/openshift_cli/getting-started.adoc
4+
5+
:_content-type: PROCEDURE
6+
[id="cli-installing-cli-brew_{context}"]
7+
= Installing the OpenShift CLI by using Homebrew
8+
9+
For macOS, you can install the OpenShift CLI (`oc`) by using the link:https://brew.sh[Homebrew] package manager.
10+
11+
.Prerequisites
12+
13+
* You must have Homebrew (`brew`) installed.
14+
15+
.Procedure
16+
17+
* Run the following command to install the link:https://formulae.brew.sh/formula/openshift-cli[openshift-cli] package:
18+
+
19+
[source,terminal]
20+
----
21+
$ brew install openshift-cli
22+
----

0 commit comments

Comments
 (0)