Skip to main content
This is the command reference for running and operating the gateway using the command line. The CLI controls the running gateway over a local control API.

Example

This command asks the gateway for a status snapshot and prints it.

Global flags

  • --config <path>: override config file path.
  • --url <url>: override the gateway control URL (remote mode).
  • --token <token>: override auth token for remote control.

Commands

Run the gateway

If the startup security summary reports critical findings, the gateway will refuse to start. Use moldable gateway run --force to override (not recommended). Auto-restart on config changes is on by default. Set gateway.restart_on_change=false to disable, or use moldable gateway run --restart-on-change to force it on.

Health and status

Pairing

Node pairing and runtime

Channels and sessions

Services

Onboarding

Doctor

Security audit (config + security checks)

--fix applies safe config changes and tightens local file permissions (chmod).