Installation
The stn CLI is a Python package. Install it, sign in, and you're ready.
Install
pip install stndp-cli # provides the `stn` command (Python 3.11+)
Verify and authenticate:
stn --version
stn login # opens your browser to sign in
stn whoami # confirm your identity and which endpoints are in effect
By default the CLI talks to the production service at stndp.io. See
Configuration to point it elsewhere.
Updating
pip install --upgrade stndp-cli
The CLI and the hosted API are versioned together; upgrading occasionally unlocks new commands.
Run stn --help to see everything your installed version supports.
Requirements
- Python 3.11 or newer.
- Optional: the GitHub CLI (
gh), authenticated — unlocks your PR review queue instn resumeand PR/commit history instn brag. Nothing breaks without it. - Optional:
git— checkpoints capture local git context when you're inside a repository.
Pointing at a dev server
Endpoints are resolved from the environment, never from disk. To target a local stack instead of production:
STNDP_DEV=1 stn whoami # local dev stack (http://localhost:8080, API under /api)
STNDP_API_URL=... STNDP_WEB_URL=... stn whoami # explicit overrides
Real environment variables always win. See Configuration for the full
list and the .env handling rules.