Skip to content

Install the CHAMPREP CLI

Choose one installation method. Do not install multiple copies unless you know which executable appears first in your PATH.

Terminal window
curl -fsSL https://cli.champrep.com/install.sh | sh

The installer selects the supported operating system and architecture, downloads the release from cli.champrep.com, and verifies the published artifact metadata. The default user installation directory is $HOME/.local/bin.

Install a specific version or directory with installer options:

Terminal window
curl -fsSL https://cli.champrep.com/install.sh \
| sh -s -- --version VERSION --prefix "$HOME/.local/bin"

Review the script at cli.champrep.com/install.sh before running it when required by your security policy.

Terminal window
brew tap champrep-llc/cli \
https://code.champrep.com/champrep-llc/champrep-cli.git
brew install champrep-llc/cli/champrep

Upgrade later with:

Terminal window
brew update
brew upgrade champrep
Terminal window
scoop bucket add champrep `
https://code.champrep.com/champrep-llc/champrep-cli.git
scoop install champrep

Upgrade later with:

Terminal window
scoop update champrep
Terminal window
docker pull champrep/cli:latest
docker run --rm champrep/cli:latest --version

For a non-interactive command, inject a scoped key from your secret manager:

Terminal window
docker run --rm \
--env CHAMPREP_TOKEN \
champrep/cli:latest auth whoami

Avoid putting a key directly in a shell command because it can be retained in shell history or process inspection.

Terminal window
command -v champrep
champrep --version
champrep version
champrep --help

If the command is not found after the direct installer, add the install directory to PATH and open a new terminal. For example:

Terminal window
export PATH="$HOME/.local/bin:$PATH"

Persist the setting in the startup file used by your shell.

Next, authenticate the CLI. If an older copy is being selected or the binary does not start, use CLI troubleshooting.