Skip to main content
The CLI is a thin HTTP client that talks to the gateway’s config API. Use it for scripting, automation, and managing settings from the terminal.

Installation

The CLI runs directly via Bun from the monorepo:
Or alias it for convenience:

Commands

Status

Check gateway health and provider status:

Config get

Read the full config or a specific path:

Config set

Update a config value:

Config paths

List all config paths and their current values:

Secrets

Set or remove API keys and other secrets. Values are read from stdin for security — they never appear in your shell history.
Secret values are never returned by the API. The CLI and Settings UI only see whether a secret is set (isSet: true), never the actual value.

Connection options

Set SPACEDUCK_GATEWAY_URL and SPACEDUCK_TOKEN as environment variables to avoid passing flags on every command.

Examples