1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00
Files
openshift-docs/cli_reference/openshift_cli/getting-started-cli.adoc

55 lines
1.7 KiB
Plaintext
Raw Normal View History

:_mod-docs-content-type: ASSEMBLY
2019-03-18 10:23:14 -04:00
[id="cli-getting-started"]
2021-02-04 08:45:01 -07:00
= Getting started with the OpenShift CLI
2022-02-16 11:35:56 -05:00
include::_attributes/common-attributes.adoc[]
2025-09-03 10:31:45 +01:00
include::_attributes/attributes-openshift-dedicated.adoc[]
:context: cli-developer-commands
toc::[]
// About the CLI
include::modules/cli-about-cli.adoc[leveloffset=+1]
2021-02-04 08:45:01 -07:00
[id="installing-openshift-cli"]
== Installing the OpenShift 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 the web console
include::modules/cli-installing-cli-web-console.adoc[leveloffset=+2]
// Installing the CLI on Linux by using the web console
include::modules/cli-installing-cli-web-console-linux.adoc[leveloffset=+3]
// Installing the CLI on Windows by using the web console
include::modules/cli-installing-cli-web-console-windows.adoc[leveloffset=+3]
// Installing the CLI on macOS by using the web console
include::modules/cli-installing-cli-web-console-macos.adoc[leveloffset=+3]
ifndef::openshift-origin[]
// Installing the CLI by using an RPM
include::modules/cli-installing-cli-rpm.adoc[leveloffset=+2]
endif::[]
2021-09-20 10:20:46 +02:00
// Installing the CLI by using Homebrew
include::modules/cli-installing-cli-brew.adoc[leveloffset=+2]
// Logging in to the CLI
include::modules/cli-logging-in.adoc[leveloffset=+1]
// Logging in to the CLI by using the web
include::modules/cli-logging-in-web.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]