Skip to main content
The verial config commands read and write the CLI config file at ~/.verial/config.json. Values set here apply to every invocation on this machine and can be overridden per-command via environment variables or flags. The config file uses kebab-case keys:

Subcommands

The api-key field is typically managed through verial auth set-key, but verial config set writes the same file.

verial config get

Print the current contents of ~/.verial/config.json. Returns {} if no config has been written. Synopsis:
Example:
Pair with --json for machine-readable output:

verial config set

Write a single key/value pair to the config file. The value is parsed according to the key’s type (default-limit is parsed as an integer, output-json as a boolean). Synopsis:
Options: Examples:
Unknown keys fail fast:

Precedence

For each value, the CLI resolves in this order:
  1. Command-line flag (e.g., --api-key, --limit, --json).
  2. Environment variable (VERIAL_API_KEY, VERIAL_API_URL).
  3. Config file at ~/.verial/config.json.
  4. Hard-coded default (for base-url, https://api.verial.ai).

Next Steps

verial auth

API key storage and inspection.

Installation

Install the CLI and verify connectivity.