2019-03-11 20:59:48 -04:00
|
|
|
// Module included in the following assemblies:
|
|
|
|
|
//
|
|
|
|
|
// * cli_reference/getting-started.adoc
|
|
|
|
|
|
2019-05-13 08:55:00 +10:00
|
|
|
[id="cli-installing-cli_{context}"]
|
2019-03-11 20:59:48 -04:00
|
|
|
= Installing the CLI
|
|
|
|
|
|
|
|
|
|
You can install the CLI in order to interact with {product-title} using a
|
|
|
|
|
command-line interface.
|
|
|
|
|
|
|
|
|
|
.Procedure
|
|
|
|
|
|
2019-06-04 11:03:08 -04:00
|
|
|
. From the link:https://cloud.redhat.com/openshift/install[OpenShift Infrastructure Providers] page,
|
|
|
|
|
click *Download Command-line Tools*.
|
2019-03-11 20:59:48 -04:00
|
|
|
. Click the folder for your operating system and architecture and click the
|
|
|
|
|
compressed file.
|
|
|
|
|
. Save the file to your file system.
|
|
|
|
|
. Extract the compressed file.
|
|
|
|
|
. Place it in a directory that is on your `PATH`.
|
|
|
|
|
|
|
|
|
|
After you install the CLI, it is available using the `oc` command:
|
|
|
|
|
|
|
|
|
|
----
|
|
|
|
|
$ oc <command>
|
|
|
|
|
----
|