Back to Eliza

eliza config

packages/docs/cli/config.mdx

2.0.11.4 KB
Original Source

eliza config

Read-only helpers for inspecting the active configuration.

Subcommands

SubcommandDescription
eliza config get <key>Read a specific config value
eliza config pathPrint the resolved config file path
eliza config showDisplay all config values grouped by section

Subcommands

eliza config get <key>

Read a single config value using dot-notation. Nested keys are supported (e.g. agents.defaults.model.primary). Prints (not set) when the key does not exist, or the JSON-formatted value otherwise.

bash
eliza config path                  # show which file the runtime loads
eliza config get connectors.discord.token   # read a specific key
eliza config show                  # dump all config values
eliza config --help                # show available subcommands

eliza config path

Print the resolved config file path (e.g. ~/.eliza/eliza.json).

bash
eliza config path

eliza config show

Display all configuration values grouped by section. Sensitive values (API keys, tokens) are masked. Hidden fields are excluded unless --all is passed.

FlagDescription
-a, --allInclude advanced and hidden fields
--jsonOutput as raw JSON
bash
eliza config show
eliza config show --all
eliza config show --json