Skip to main content
The Sly CLI is a thin terminal shell over the Node SDK. Use it for ops, scripting, CI/CD, and anywhere you’d reach for curl.

Install

Verify:

Authenticate

Environment variables:
Your key prefix (pk_test_ vs pk_live_) auto-selects the correct base URL.

Command groups

Each group follows a consistent CRUD pattern. Use sly <group> --help for sub-commands.

Quick examples

JSON output

Default output is human-friendly tables. --json gives scriptable output:

Exit codes

  • 0 — success
  • 1 — missing credentials or configuration
  • 2 — API returned a 4xx
  • 3 — API returned a 5xx or network error
Safe for set -e pipelines.

Environment management

See also

  • Node SDK — the CLI wraps this
  • MCP server — for Claude Desktop integration
  • Full command reference: sly --help