CLI Reference • TutorialHeader.readTime
Config
CLI reference for `openclaw config` (get/set/unset config values)
Config helper: get/set/unset values by path.
Running without a subcommand opens the configuration wizard (same as openclaw configure).
Tutorial.step
Examples
Bash
openclaw config get browser.executablePath openclaw config set browser.executablePath "/usr/bin/google-chrome" openclaw config set agents.defaults.heartbeat.every "2h" openclaw config set agents.list[0].tools.exec.node "node-id-or-name" openclaw config unset tools.web.search.apiKey
Tutorial.step
Paths
Paths use dot or bracket notation:
Bash
openclaw config get agents.defaults.workspace openclaw config get agents.list[0].id
Use the agent list index to target a specific agent:
Bash
openclaw config get agents.list openclaw config set agents.list[1].tools.exec.node "node-id-or-name"
Tutorial.step
Values
Values are parsed as JSON5 when possible; otherwise they are treated as strings.
Use --json to require JSON5 parsing.
Bash
openclaw config set agents.defaults.heartbeat.every "0m" openclaw config set gateway.port 19001 --json openclaw config set channels.whatsapp.groups '["*"]' --json
Restart the Gateway after editing.