Skip to main content
Read and write CLI configuration. Each subcommand has its own section below, in alphabetical order. Global config lives in config.json in the global config directory (GUILD_CONFIG_DIR, or ~/.guild when unset). Local config lives in guild.json in your agent directory. guild config set writes global config only.

get

Read a single config value. The CLI looks up the key in global config first, then in local guild.json.
If the key isn’t set, the command exits with code 1. With --mode json, the output includes key, value, and source (global or local).

list

Show all global and local config values.

path

Show the paths to the global and local config files, and whether each one exists.

set

Write a value to global config.
Boolean keys accept true/false, yes/no, on/off, or 1/0. An unknown key, or an invalid value for a boolean key or telemetry, exits with code 1. The json key is the config-file equivalent of --mode json. Setting guild config set json true applies JSON output to every command without passing the flag each time.
Last modified on October 15, 2026