openshift-cli

Command-line tools for managing OpenShift clusters and applications

brewmacoslinux
Try with needOr install directly
Source

About

OpenShift command-line interface tools

Commands

oc

Examples

Log in to an OpenShift cluster$ oc login https://api.example.com:6443 --username=user --password=pass
Deploy an application from a Docker image$ oc new-app docker.io/library/nginx --name=my-app
View all pods in the current namespace$ oc get pods