1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00

OCP BUGS-1156: Adding download for macOS arm64 oc binary

This commit is contained in:
Andrea Hoffer
2022-11-16 14:25:22 -05:00
committed by openshift-cherrypick-robot
parent d0ae4a10fa
commit be176d111c
2 changed files with 15 additions and 5 deletions

View File

@@ -16,6 +16,12 @@ image::click-question-mark.png[]
+
image::CLI-list.png[]
. Select the `oc` binary for macOS platform, and then click *Download oc for Mac for x86_64*.
+
[NOTE]
====
For macOS arm64, click *Download oc for Mac for ARM 64*.
====
. Save the file.
. Unpack and unzip the archive.
. Move the `oc` binary to a directory on your PATH.

View File

@@ -79,7 +79,7 @@ You can install the OpenShift CLI (`oc`) binary on Linux by using the following
.Procedure
ifdef::openshift-origin[]
. Navigate to https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/ and choose the folder for your operating system and architecture.
. Navigate to link:https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/ and choose the folder for your operating system and architecture.
. Download `oc.tar.gz`.
endif::[]
ifndef::openshift-origin[]
@@ -118,7 +118,7 @@ You can install the OpenShift CLI (`oc`) binary on Windows by using the followin
.Procedure
ifdef::openshift-origin[]
. Navigate to https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/ and choose the folder for your operating system and architecture.
. Navigate to link:https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/ and choose the folder for your operating system and architecture.
. Download `oc.zip`.
endif::[]
ifndef::openshift-origin[]
@@ -151,13 +151,18 @@ You can install the OpenShift CLI (`oc`) binary on macOS by using the following
.Procedure
ifdef::openshift-origin[]
. Navigate to https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/ and choose the folder for your operating system and architecture.
. Navigate to link:https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/ and choose the folder for your operating system and architecture.
. Download `oc.tar.gz`.
endif::[]
ifndef::openshift-origin[]
. Navigate to the link:https://access.redhat.com/downloads/content/290[{product-title} downloads page] on the Red Hat Customer Portal.
. Select the appropriate version in the *Version* drop-down menu.
. Click *Download Now* next to the *OpenShift v{product-version} MacOSX Client* entry and save the file.
. Click *Download Now* next to the *OpenShift v{product-version} macOS Client* entry and save the file.
+
[NOTE]
====
For macOS arm64, choose the *OpenShift v{product-version} macOS arm64 Client* entry.
====
endif::[]
. Unpack and unzip the archive.
. Move the `oc` binary to a directory on your PATH.
@@ -176,7 +181,6 @@ After you install the OpenShift CLI, it is available using the `oc` command:
$ oc <command>
----
ifeval::["{context}" == "updating-restricted-network-cluster"]
:!restricted:
endif::[]