Complete OpenShift keyboard shortcuts and commands reference — 16 shortcuts across 2 categories. Quick reference cheat sheet for Windows & Mac.
OpenShift is a popular DevOps/CLI tool used by professionals worldwide. Learning keyboard shortcuts can dramatically speed up your workflow — studies show shortcut users save an average of 8 days per year compared to mouse-only users.
This page covers all 16 OpenShift shortcuts across 2 categories: oc CLI Basics, Deployments & Builds. Each shortcut includes a description to help you understand when and how to use it effectively.
| 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 |
OpenShift's 16 shortcuts on this page are organized into 2 categories: oc CLI Basics (8), Deployments & Builds (8). oc CLI Basics is the largest group with 8 shortcuts — a good place to focus first if you're building muscle memory from scratch.
Unlike many tools we cover, OpenShift's key combinations here don't heavily overlap with other platforms in our database — worth learning on their own terms rather than by analogy.
New to OpenShift? Start with oc CLI Basics above — it's usually where the shortcuts you'll reach for constantly live. Once those feel automatic, work through Deployments & Builds to round out your workflow.
Want this on paper? The printable cheat sheet turns these 16 shortcuts into a one-page PDF you can pin above your desk. Prefer to learn by doing? Shortcut Speedrun turns memorization into a timed typing challenge with a global leaderboard, so you find out which OpenShift shortcuts you actually remember under pressure.
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.
Start with the essentials: Learn oc login <url> (Login) and oc project <name> (Switch project) first — these are the most commonly used.
Practice daily: Pick 2–3 new shortcuts each day and consciously use them instead of the mouse. Within a week, they become muscle memory.
Print this cheat sheet: Keep a reference nearby until shortcuts become automatic. Focus on the oc CLI Basics category first.
CLI tip: Create shell aliases for the commands you use most. Combine them with these shortcuts for maximum efficiency.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"