CLI Reference

These are the commands exposed by sleev. Run sleev --help or the command's -h flag when available for exact usage.

Setup and status

Guide: Quickstart setup

  • Open the TUI.
  • Print the CLI version.
  • sleev setup [--no-open] [--yes] Register the machine and install the gateway if missing, --yes accepts the terms explicitly, for non-interactive use.
  • Install only the latest Claude Desktop credential helper and print its path.
  • sleev status [--config] Print gateway status as JSON. --config includes the config.
  • sleev upgrade [--yes] [version] Update the sleev CLI and gateway together. --yes skips the confirmation for updates that break running sessions.

Harnesses

Guide: Harness Setup

  • Configure harness/provider connections.
  • List supported harnesses, detection status, and enabled providers.
  • sleev harness <harness> list List provider IDs and state for one harness.
  • sleev harness <harness> enable [provider] Route a provider through Sleev. Claude Code and Codex select their provider automatically.
  • sleev harness <harness> disable [provider|--all] Remove one or all Sleev-owned routes for a harness.

Account

  • Open the account menu.
  • sleev auth login [--no-open|--headless|--device] Sign in.
  • Show the current auth state.
  • sleev auth logout [--yes] Sign out and continue in Guest mode. --yes accepts the required guest terms when leaving an offline license.
  • Check the current account token.
  • sleev usage [--json] Show Premium request usage for the active account or organization.

Organizations

  • Show or change which organization the gateway attributes usage to. Organization usage still appears on your personal dashboard.
  • Show the current attribution.
  • Show the organizations you can attribute usage to.
  • sleev org set <org-slug> Attribute usage to an organization you belong to.
  • Attribute usage to your personal account.

Offline licenses

Guide: Offline Licensing

  • Open the offline license menu.
  • Create an offline activation request.
  • sleev auth license apply <slv_lic_...> Activate an offline license.
  • Create an offline license renewal request.
  • Show offline license status.
  • Remove the active offline license.

Gateway

Guide: Gateway bind address

  • Open the gateway menu.
  • Show gateway status.
  • sleev gateway start|restart|stop Manage the local gateway.
  • sleev gateway bind --host <host> [--port <port>] [--restart] Change the gateway listen address.
  • sleev gateway bind reset [--restart] Reset the listen address to local defaults.

Logs and feedback

  • sleev request-logs [status|enable|disable] Show, enable, or disable local request logging. Run without a subcommand to toggle it. Disabled by default.
  • sleev feedback [--logs [--yes]] Send feedback to Sleev from an interactive terminal. --logs uploads diagnostic logs for support instead; conversation data is redacted before logs are saved. --yes skips the confirmation.

Experimental

  • Open the experimental features menu.
  • sleev experimental opencode-claude-auth [status|enable|disable] OpenCode Claude Auth compatibility, for use with the opencode-claude-auth plugin.