mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 21:46:22 +01:00
30 lines
965 B
Plaintext
30 lines
965 B
Plaintext
ifeval::["{context}" == "updating-restricted-network-cluster"]
|
|
:restricted:
|
|
endif::[]
|
|
|
|
[id="cli-installing-cli-web-console_{context}"]
|
|
= Installing the OpenShift CLI by using the web console
|
|
|
|
You can install the {oc-first} to interact with {product-title} clusters from a web console. You can install `oc` on Linux, Windows, or macOS.
|
|
|
|
[IMPORTANT]
|
|
====
|
|
If you installed an earlier version of `oc`, you cannot use it to complete all
|
|
of the commands in
|
|
ifndef::openshift-rosa,openshift-rosa-hcp[]
|
|
{product-title} {product-version}.
|
|
endif::openshift-rosa,openshift-rosa-hcp[]
|
|
ifdef::openshift-rosa,openshift-rosa-hcp[]
|
|
{product-title}.
|
|
endif::openshift-rosa,openshift-rosa-hcp[]
|
|
Download and
|
|
install the new version of `oc`.
|
|
ifdef::restricted[]
|
|
If you are upgrading a cluster in a restricted network, install the `oc` version that you plan to upgrade to.
|
|
endif::restricted[]
|
|
====
|
|
|
|
ifeval::["{context}" == "updating-restricted-network-cluster"]
|
|
:!restricted:
|
|
endif::[]
|