Files
bot/docs/cli/config.md
zeekay 4bdc9ee3e4 chore: rebrand openclaw → hanzo-bot for bridge merge
Comprehensive rename of all openclaw references to hanzo-bot equivalents:
- Package: openclaw → @hanzo/bot
- Binary: openclaw → hanzo-bot
- Types: OpenClaw* → Bot*
- Env vars: OPENCLAW_* → BOT_*
- Android: ai.openclaw.android → ai.hanzo.bot.android
- iOS/macOS: ai.openclaw.* → ai.hanzo.*
- Swift modules: OpenClaw* → Bot*
- Plugins: openclaw.plugin.json → bot.plugin.json
- Paths: .openclaw/ → .hanzo/bot/
- URLs: github.com/openclaw → github.com/hanzoai
2026-02-26 22:36:01 -08:00

1.3 KiB

summary, read_when, title
summary read_when title
CLI reference for `hanzo-bot config` (get/set/unset config values)
You want to read or edit config non-interactively
config

hanzo-bot config

Config helpers: get/set/unset values by path. Run without a subcommand to open the configure wizard (same as hanzo-bot configure).

Examples

hanzo-bot config get browser.executablePath
hanzo-bot config set browser.executablePath "/usr/bin/google-chrome"
hanzo-bot config set agents.defaults.heartbeat.every "2h"
hanzo-bot config set agents.list[0].tools.exec.node "node-id-or-name"
hanzo-bot config unset tools.web.search.apiKey

Paths

Paths use dot or bracket notation:

hanzo-bot config get agents.defaults.workspace
hanzo-bot config get agents.list[0].id

Use the agent list index to target a specific agent:

hanzo-bot config get agents.list
hanzo-bot config set agents.list[1].tools.exec.node "node-id-or-name"

Values

Values are parsed as JSON5 when possible; otherwise they are treated as strings. Use --json to require JSON5 parsing.

hanzo-bot config set agents.defaults.heartbeat.every "0m"
hanzo-bot config set gateway.port 19001 --json
hanzo-bot config set channels.whatsapp.groups '["*"]' --json

Restart the gateway after edits.