CLI Reference
The chaser CLI is a thin client over the public Chaser API.
Installation
Download the latest release from the Chaser dashboard or build from source.
curl -fsSL https://get.chaser.sh | sh installs chaser and the chaser-sh compatibility shim.
The recommended local-first shell surface is chaser dev shell. The shim accepts common shell entry patterns such as -c, -lc, -ic, -ilc, stdin scripts via -s, and local script paths for tools that insist on driving a shell via SHELL, bash, or zsh.
Configuration
Set credentials via environment variables or flags:
Or pass them as flags:
Commands
Local Project Mode
chaser dev keeps the local project authoritative and mirrors it into a remote sandbox workspace with sync, conflict capture, and rollback metadata under .chaser/.
Sessions
Workspaces
File transfer
Use chaser dev instead of manual upload or teleport when you want an ongoing local-first sync relationship with rollback support.
Targetless chaser shell, chaser sandbox, chaser browser, and POST /v1/exec all follow the same resolution rules:
- Free tier auto-runs ephemerally.
- Paid accounts use the saved default workspace for the requested session type.
- If a paid account has no default yet, Chaser creates one automatically on first use.
--ephemeralalways bypasses defaults.
Port forwarding
Jobs
Accounts
API keys
Keys are bound to the account selected at creation time.
Webhooks
SSH
Output formats
Most commands support --json for machine-readable output and --format table for human-readable tables. Use --help at any command depth for full syntax.