Installing the OpenShift command-line interface (CLI)
Procedure
- Download the most recent OpenShift® Version 4 CLI for Linux®:
cd ~ wget https://mirror.openshift.com/pub/openshift-v4/clients/ocp/latest/openshift-client-linux.tar.gz
mkdir openshift tar -zxvf openshift-client-linux.tar.gz -C openshift echo 'export PATH=$PATH:~/openshift' >> ~/.bashrc && source ~/.bashrc
- To verify that the most recent version is on your system, run the following
commands:
oc version kubectl version