File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
cli_reference/openshift_cli Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ ifndef::openshift-origin[]
34
34
include::modules/cli-installing-cli-rpm.adoc[leveloffset=+2]
35
35
endif::[]
36
36
37
+ // Installing the CLI by using Homebrew
38
+ include::modules/cli-installing-cli-brew.adoc[leveloffset=+2]
39
+
37
40
// Logging in to the CLI
38
41
include::modules/cli-logging-in.adoc[leveloffset=+1]
39
42
Original file line number Diff line number Diff line change
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
+ ----
You can’t perform that action at this time.
0 commit comments