oc versionSetup OpenShift
To run OpenShift4, you need to have one provisioned using try.openshift.com or can use any existing OpenShift4 cluster. Once you have your cluster, you can download the latest OpenShift client(oc) from here and add to your path.
You can check the OpenShift version using:
The output should show oc version >=4.18:
Client Version: 4.21.17
Kustomize Version: v5.7.1
Server Version: 4.21.8
Kubernetes Version: v1.34.5