Get URL for OpenShift console

You need to be authenticated to the cluster:

oc get routes -n openshift-console
Alternatively you can use this command:
oc whoami --show-console
If you are using CRC or OpenShift Local, you can open the console directly in the browser by using this command:
crc console