Skip to main content
The Voyant CLI is the terminal interface to the managed platform. It is designed for developers, CI jobs, and agents that need repeatable control-plane operations.

Install

Log in

voyant login runs an OAuth 2.0 device-code flow against https://api.voyant.travel. It opens a verification page and waits for approval. Use --no-browser to print the URL without opening it.
For CI or another headless environment, create an API token in the dashboard and supply it directly:

Manage the platform

Every managed command accepts --json for machine-readable output and returns a stable { "error": { "code", "message" } } envelope on failure. Destructive actions require --yes, and commands do not prompt when no TTY is available.

Organizations

API tokens are organization-bound. When you belong to several organizations, select the target explicitly:
Override the active organization per command with --org <slug|id> or VOYANT_CLOUD_ORG. The CLI fails instead of guessing when several organizations are available and none is selected.

Credentials

The CLI stores tokens in ~/.voyant/credentials.json with mode 0600, keyed by API URL and organization. It resolves credentials in this order:
  1. --token <value>
  2. VOYANT_CLOUD_API_KEY
  3. The stored credential for the resolved API URL and active organization

Command reference

See every managed command, subcommand, and flag.