Complete OpenShift keyboard shortcuts and commands reference — 16 shortcuts across 2 categories. Quick reference cheat sheet for Windows & Mac.
| Shortcut | Action |
|---|---|
| oc login <url> | Login |
| oc project <name> | Switch project |
| oc new-project <name> | Create project |
| oc get pods | List pods |
| oc get all | Get all resources |
| oc describe pod <name> | Describe pod |
| oc logs <pod> | View logs |
| oc rsh <pod> | Remote shell |
| Shortcut | Action |
|---|---|
| oc new-app <image> | New app |
| oc new-app --from-git <url> | App from Git |
| oc start-build <buildconfig> | Start build |
| oc rollout status dc/<name> | Rollout status |
| oc rollout latest dc/<name> | Trigger deploy |
| oc rollout undo dc/<name> | Rollback |
| oc scale dc/<name> --replicas=3 | Scale |
| oc expose svc/<name> | Expose route |
The most essential OpenShift shortcuts are: oc login <url> (Login), oc project <name> (Switch project), oc new-project <name> (Create project). These cover the most frequent actions and can significantly speed up your workflow.
OpenShift has 16 keyboard shortcuts across 2 categories on shortcut-tools.com.
Simply press the key combination while OpenShift is focused. Most shortcuts work immediately. On Mac, replace Ctrl with Cmd and Alt with Option for most shortcuts.
The OpenShift shortcut for login is oc login <url>.
OpenShift includes 8 oc CLI Basics shortcuts, including oc login <url> (Login) and oc project <name> (Switch project). See the full list in the oc CLI Basics section above.
OpenShift includes 8 Deployments & Builds shortcuts, including oc new-app <image> (New app) and oc new-app --from-git <url> (App from Git). See the full list in the Deployments & Builds section above.
Yes — use My Stack to combine OpenShift shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"