2019-03-18 10:23:14 -04:00
|
|
|
[id="cli-getting-started"]
|
2019-03-11 20:59:48 -04:00
|
|
|
= Getting started with the CLI
|
|
|
|
|
include::modules/common-attributes.adoc[]
|
|
|
|
|
:context: cli-developer-commands
|
|
|
|
|
|
|
|
|
|
toc::[]
|
|
|
|
|
|
|
|
|
|
// About the CLI
|
|
|
|
|
include::modules/cli-about-cli.adoc[leveloffset=+1]
|
|
|
|
|
|
2020-02-27 11:49:29 -05:00
|
|
|
== Installing the CLI
|
|
|
|
|
|
|
|
|
|
You can install the OpenShift CLI (`oc`) either by downloading the binary or by using an RPM.
|
|
|
|
|
|
|
|
|
|
// Installing the CLI by downloading the binary
|
|
|
|
|
include::modules/cli-installing-cli.adoc[leveloffset=+2]
|
|
|
|
|
|
|
|
|
|
// Installing the CLI by using an RPM
|
|
|
|
|
include::modules/cli-installing-cli-rpm.adoc[leveloffset=+2]
|
2019-03-11 20:59:48 -04:00
|
|
|
|
|
|
|
|
// Logging in to the CLI
|
|
|
|
|
include::modules/cli-logging-in.adoc[leveloffset=+1]
|
|
|
|
|
|
|
|
|
|
// Using the CLI
|
|
|
|
|
include::modules/cli-using-cli.adoc[leveloffset=+1]
|
|
|
|
|
|
|
|
|
|
// Getting help
|
|
|
|
|
include::modules/cli-getting-help.adoc[leveloffset=+1]
|
|
|
|
|
|
|
|
|
|
// Logging out of the CLI
|
|
|
|
|
include::modules/cli-logging-out.adoc[leveloffset=+1]
|