Install the CLI

The rootcause CLI runs a challenge on your own machine with Docker, using the same per-challenge compose the site hands out. One command spins up the flagger sidecar and the challenge. Submitting flags stays on the website.

macOS / Linux

Download the binary for your platform and put it on your PATH:

os=$(uname -s | tr '[:upper:]' '[:lower:]')
arch=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
curl -fsSL -o rootcause "https://github.com/matej-basic/root-cause/releases/latest/download/rootcause-${os}-${arch}"
chmod +x rootcause && sudo mv rootcause /usr/local/bin/

Windows

Download rootcause-windows-amd64.exe from the latest release and add it to your PATH.

From source

No third-party dependencies, so a local build works with a Go toolchain:

cd cli
go build -o rootcause .

Then run a challenge

  1. Generate an API key on your profile (it is shown once).
  2. rootcause login --key <your key>
  3. rootcause list, then rootcause start <slug>

You need Docker installed and running. All releases live on GitHub.