# Gateway CLI Reference for the `euxis-gateway` command family. ## Synopsis ```bash euxis gateway [options] ``` ## Commands ### run Start the Gateway control plane. ```bash euxis gateway run ``` Options: - `--bind `: bind address (default: `127.0.0.1`) - `--port `: bind port (default: `18789`) - `--config `: config path (default: `~/.euxis/euxis-policy/gateway.json`) - `--auth-mode `: override auth mode ### status Show Gateway status. ```bash euxis gateway status ``` ### config Print the resolved Gateway configuration. ```bash euxis gateway config ``` ### sessions List active sessions. ```bash euxis gateway sessions ``` ## Config Loading Order 1. `--config ` CLI override 2. `EUXIS_GATEWAY_CONFIG` environment override 3. Default: `~/.euxis/euxis-policy/gateway.json` 4. Built-in defaults if file is missing ## Related - Gateway Protocol: `docs/reference/gateway.md` - Gateway Auth: `docs/reference/gateway-auth.md` - Gateway Config: `docs/reference/gateway-config.md`