Skip to content

Installing the CLI ​

The Hesper CLI is the native Console client — hesper in a terminal opens the same governed surface as the browser.

From the repo ​

bash
cd tools/hesper-cli
npm ci
npm run build          # tsc → dist/cli.js
npm link               # puts `hesper` on your PATH

Platform notes ​

PlatformConfig pathNotes
macOS~/Library/Application Support/hesper/Secrets in a 0600 file store
Linux$XDG_CONFIG_HOME/hesper or ~/.config/hesperSame file store
Windows PowerShellprofile-localhesper completion powershell installs completions

First run ​

bash
hesper login          # opens your browser; OAuth consent completes on the loopback port
hesper whoami
hesper practice use <id-or-name>
hesper status

The login is OAuth 2.1 + PKCE against your workspace (--hub overrides the default https://dash.hesperitsm.com).

Global flags ​

--hub <url> --practice <id> --profile <name> --json|--output table|json|tsv

NO_COLOR is respected — colour output degrades to plain text, and non-TTY output stays machine-readable.

See Commands and Scripting.

Hesper docs · version v0.1.152