Skip to content

Get started

Install the CLI

One command, no Python setup and no administrator rights.

On this page

Install in one line

Run the line for your system. The installer downloads the CLI for your machine, checks it against the published SHA-256 sums and adds the grchero command for your user only.

curl -fsSL https://grchero.dev/install.sh | sh
Output
Downloading grcHero CLI 0.7.3 for linux x86_64...
grcHero CLI 0.7.3 installed at /home/you/.local/bin/grchero.

Next: grchero login

Check it works

Terminal
grchero --version
grchero doctor

Note: If your shell cannot find grchero, the installer printed the line that adds ~/.local/bin to your PATH. Run it, then open a new terminal.

What the installer changes

On macOS and Linux it keeps each version in ~/.local/share/grchero and links the grchero command from ~/.local/bin. On Windows it uses %LOCALAPPDATA%\grchero and adds its bin folder to your user PATH. Nothing else on the system changes, and it never asks for administrator rights.

Most systems get a native program that needs nothing else installed. Where no native build exists yet, the installer uses the single-file app with Python 3.11 or later, if it finds one. A download that does not match its checksum is never installed.

SettingEffect
GRCHERO_BIN_DIRWhere the grchero command goes
GRCHERO_HOMEWhere versions are kept
GRCHERO_FORMATnative or pyz, to force one kind of download
GRCHERO_DOWNLOAD_URLDownload from another grcHero deployment (HTTPS only)

Signed releases

Each release's SHA256SUMS, the list of every file's checksum, is signed with minisign. The installer checks that signature with minisign, or with OpenSSL 3 on macOS and Linux when minisign is not installed, and prints Signature checked. On a machine with neither it says only the checksum was checked. On Windows that needs minisign.

That check catches a damaged or swapped download. It cannot protect against a compromised server, which could change the installer too, so for a sensitive machine or a CI image check the release yourself with the public key published in the CLI repository, which you get from GitHub rather than from us.

Terminal
curl -fsSLO https://grchero.dev/cli/SHA256SUMS
curl -fsSLO https://grchero.dev/cli/SHA256SUMS.minisig
minisign -Vm SHA256SUMS -P <public key from the CLI repository>
sha256sum --ignore-missing -c SHA256SUMS

Update and remove

Run the install line again to update. Reports stay compatible while schema_version is 1. To remove the CLI, delete the command and its folder.

rm ~/.local/bin/grchero
rm -r ~/.local/share/grchero

Install from source

For contributors to the open-source CLI. A source install has no built-in sign-in values, so pass them to grchero login (see Sign in).

Terminal
git clone https://github.com/grcHero/cli.git
cd cli
python3 -m venv .venv
. .venv/bin/activate
python -m pip install .
grchero doctor
grcHero CLI 0.7.3. Local checks, human review, verifiable evidence.