Skip to main content

CLI reference

VoiceGateway ships a command-line interface called voicegw. It is the primary way to onboard, run the daemon, inspect gateway state, and reconcile costs.

Installation

The CLI is installed automatically with the package:
After installation, the voicegw command is available globally. See Installation for every install variant (curl-bash, pipx, uv, Docker, source).

Subcommands

Onboarding and lifecycle

Inspect and verify

Reconciliation and export

MCP server

Global behaviour

  • Running voicegw with no arguments displays the help menu.
  • Most commands accept --config (-c) to specify a custom path to voicegw.yaml. If omitted, the gateway searches in this order: ./voicegw.yaml, ~/.config/voicegateway/voicegw.yaml, /etc/voicegateway/voicegw.yaml. The VOICEGW_CONFIG environment variable overrides the search.
  • Commands that need cost or log data require cost_tracking.enabled: true in the config (which activates the SQLite backend), or the VOICEGW_DB_PATH env var pointing at a database path.
  • The CLI uses Rich for formatted terminal output (tables, panels, coloured text).

Quick start

For the full first-run walkthrough see Get started.