Appearance
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 PATHPlatform notes
| Platform | Config path | Notes |
|---|---|---|
| macOS | ~/Library/Application Support/hesper/ | Secrets in a 0600 file store |
| Linux | $XDG_CONFIG_HOME/hesper or ~/.config/hesper | Same file store |
| Windows PowerShell | profile-local | hesper 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 statusThe 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|tsvNO_COLOR is respected — colour output degrades to plain text, and non-TTY output stays machine-readable.