Usage
Subcommands
config show
Print the current configuration.
config set <key> <value>
Set a configuration value.
If a key is missing here,
archal config set <key> <value> prints the current
valid-key list.
config unset <key>
Remove a saved value. Defaults and environment variables can still apply.
config init
Create a default config file at ~/.archal/config.json.
config path
Print the config file path.
Config file format
Default file (archal config init):
evaluator.apiKey is empty, Archal uses Archal LLM judge. To bring your
own judge key, set both evaluator.model and evaluator.apiKey; use an
env:... reference for evaluator.apiKey so secrets stay out of the config
file.
Environment variable overrides
These override the config file at runtime:Authentication note
CLI auth is separate from this config file. Use:archal login(recommended)ARCHAL_TOKENin CI/non-interactive environments
