Kubernetes CLI (Kubectl)
- MacOS
- Linux
- Microsoft Windows
-
Using Homebrew (recommended):
-
Manual installation:
-
Make kubectl executable
-
Move kubectl to a directory in your PATH
Red Hat OpenShift® CLI (oc)
- Windows
- macOS
- Linux
-
Using web console:
- Log into your OpenShift web console
- Click ? icon in the top right
- Select “Command Line Tools”
- Download Windows oc client
- Extract the archive
-
Create directory for OpenShift CLI
-
Move oc.exe to the created directory
-
Add to PATH
Verification and Configuration
Verify the installations:kubectl Configuration
Red Hat OpenShift Login
Shell Completion
- Bash
- Zsh
- PowerShell