Install CLI Tools¶
You need five command-line tools on your workstation: oc, helm, pipx,
Python 3.11+, and fips-agents.
Python 3.11+¶
pipx¶
pipx installs Python CLIs into isolated environments so they don't pollute
your system Python.
Restart your shell (or source ~/.zshrc / ~/.bashrc) so the ~/.local/bin
PATH update takes effect.
oc (OpenShift CLI)¶
Download the latest oc from the Red Hat mirror, extract,
and put it on your PATH:
helm¶
fips-agents¶
Install via pipx so it's globally available:
CLI version
This tutorial was tested with fips-agents v0.15.3. Newer versions are
backward-compatible but may produce slightly different scaffold output.
To install the exact version: pipx install 'fips-agents-cli==0.15.3'
Log in to your cluster¶
Multi-cluster safety
Every oc command in this guide includes --context="$CTX" to avoid
targeting the wrong cluster. Set it once per shell session:
(In the OpenShift web console, click your username → Copy login command
to get the exact oc login --token=... invocation.)
Verification¶
All of these should succeed:
python3.11 --version # Python 3.11.x or newer
pipx --version
oc version --client
helm version --short
fips-agents --version
oc whoami --context="$CTX" # logged in