Command reference
← Back to homepage
Setup and authentication
ai-gateway setup — Complete guided setup (install, login, configure)
ai-gateway login — Authenticate via SSO
ai-gateway logout — Clear stored token
ai-gateway status — Show login and proxy service status
Running tools
ai-gateway run <tool> — Start proxy and launch a tool (macOS)
ai-gateway serve — Start proxy in foreground (macOS)
Configuration
ai-gateway env — Output environment variables for AI tools
ai-gateway shell-init [--add] — Detect and configure shell
Background service (Linux)
ai-gateway service install — Install systemd user service
ai-gateway service start|stop|status — Manage the service