CLI Reference

Synopsis

./install.sh [OPTIONS] COMMAND [ARGS]

Commands

install

Install skill(s) to detected IDEs.

./install.sh install --skill <name>    # Install one skill
./install.sh install --all             # Install all skills

uninstall

Remove skill(s) from IDEs and registry.

./install.sh uninstall --skill <name>
./install.sh uninstall --all

update

Update skill documentation from upstream repositories.

./install.sh update --skill <name>
./install.sh update --all

check-updates

Check if any installed skills have upstream changes.

./install.sh check-updates

verify

Validate skill installation integrity.

./install.sh verify --skill <name>
./install.sh verify --all
./install.sh verify                    # same as --all

list

Show installed skills with commit hash, date, and target IDEs.

./install.sh list

available

Show all available skills with repository URLs.

./install.sh available

upgrade-installer

Check for and install updates to the installer itself.

./install.sh upgrade-installer

scaffold

Generate a project scaffold from topology-specific templates.

./install.sh scaffold --type <type> [--output DIR] [--vars FILE] [--non-interactive]
Type Topology Description
hub-student Hub + N student clusters Workshop with facilitator + separate student clusters
demo Single cluster, one user Presenter-focused demonstration environment
agnosticd-infra Flexible (1+ configs) Dev/test/prod infrastructure provisioning
shared-cluster Single cluster, N users Multi-user workshop with namespace isolation
rhdp-workload Pre-provisioned cluster Deploy workloads on RHDP-ordered cluster with Keycloak users

Options:

Option Description
--type <type> Required. Scaffold topology type
--output <dir> Target directory (default: current directory)
--vars <file> Load template variables from a key=value file
--non-interactive Use all default values without prompting

Example:

./install.sh scaffold --type shared-cluster --output ./my-workshop
./install.sh scaffold --type hub-student --vars workshop.env
./install.sh scaffold --type rhdp-workload --output ./my-rhdp-workshop

help

Show the help message.

./install.sh help

Options

Option Description
--ide <target> Target: claude, cursor, agents, both, all (default: auto-detect Claude + Cursor)
--verbose, -v Enable verbose debug output
--dry-run Show what would be done without changes
--force, -f Force operation even if already up to date
--no-auto-check Disable automatic update checks on install

Exit Codes

Code Meaning
0 Success
2 Invalid arguments
3 Missing prerequisites
4 Network / fetch error
6 IDE not detected or skill not found
10 Validation failure
11 Corrupted registry
12 Upgrade failure

Environment Variables

Variable Description Default
RHEL_DEVOPS_SKILLS_HOME Data directory path ~/.rhel-devops-skills
RHEL_DEVOPS_SKILLS_VERBOSE Enable verbose output false
GITHUB_TOKEN GitHub API token for private repos / rate limits unset