CH·02CLI reference

deeprelay login

Authenticate with deeprelay via device flow

Authenticate with deeprelay via device flow

Synopsis

Drives an RFC 8628 device flow against the deeprelay.ai dashboard. Opens a browser to the approval URL, prompts for the user code, and on approval writes ~/.config/deeprelay/credentials.json (mode 0600).

Examples

# Standard interactive login (opens browser)
deeprelay login

# Skip opening the browser — useful on headless machines
DEEPRELAY_BROWSER_DISABLED=1 deeprelay login

# Use the demo or staging dashboard
deeprelay login --login-base https://demo.deeprelay.ai
deeprelay login [flags]

Options

  -h, --help                help for login
      --login-base string   Dashboard base URL for device-flow approval (default "https://deeprelay.ai")

Options inherited from parent commands

      --api-base string   API base URL (override with DEEPRELAY_API_BASE env) (default "https://api.deeprelay.ai/v1")
      --debug             Enable debug logging to stderr
      --no-preflight      Skip the plan/credit check before inference requests (override with DEEPRELAY_NO_PREFLIGHT env)
  -o, --output string     Output format: table|json (default table on TTY, json otherwise) (default "table")

SEE ALSO

  • deeprelay - deeprelay command-line interface

← The gpu CLI