Follow these steps to install the command line tools that are needed to manage aspects of the Open Horizon (Open Horizon) management hub and edge clusters:
Browse your Open Horizon web UI at:
Expand the IBM Cloud Pak CLI section and select your OS.
Copy the displayed curl command and run it to download the cloudctl binary.
Make the file executable and move it to /usr/local/bin:
chmod 755 cloudctl-* sudo mv cloudctl-* /usr/local/bin/cloudctl
Ensure /usr/local/bin is in your PATH and then verify that cloudctl is working:
Download the OpenShift Container Platform CLI tar file from OpenShift client CLI (oc) . Select the file openshift-client-*-*.tar.gz for your operating system.
Find the downloaded tar file and unpack it:
tar -zxvf openshift-client-*-*.tar.gz
Move the oc command to /usr/local/bin:
sudo mv oc /usr/local/bin/
Ensure /usr/local/bin is in your PATH and verify that oc is working:
Alternatively, use homebrew to install oc on macOS:
brew install openshift-cli
Follow the instructions in Install and Set Up kubectl .