1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 15:46:57 +01:00
Files
openshift-docs/modules/cli-install.adoc
2019-06-04 11:14:58 -04:00

37 lines
1.2 KiB
Plaintext

// Module included in the following assemblies:
//
// * installing/installing_aws/installing-aws-customizations.adoc
// * installing/installing_aws/installing-aws-default.adoc
// * installing/installing_aws/installing-aws-network-customizations.adoc
// * installing/installing_aws_user_infra/installing-aws-user-infra.adoc
// * installing/installing_bare_metal/installing-bare-metal.adoc
// * installing/installing_vsphere/installing-vsphere.adoc
[id="cli-install_{context}"]
= Installing the OpenShift Command-line Interface
You can download and install the OpenShift Command-line Interface (CLI),
commonly known as `oc`.
[IMPORTANT]
====
If you installed an earlier version of `oc`, you cannot use it to complete all
of the commands in {product-title} {product-version}. You must download and
install the new version of `oc`.
====
.Procedure
. From the link:https://cloud.redhat.com/openshift/install[OpenShift Infrastructure Providers] page,
click *Download Command-line Tools*.
. From the site that is displayed, download the compressed file for your
operating system.
+
[NOTE]
====
You can install `oc` on Linux, Windows, or macOS.
====
. Extract the compressed file and place it in a directory that is on your PATH.