CLI reference for `openclaw setup` (initialize config + workspace)

Read when…
  • You’re doing first-run setup without the full onboarding wizard
  • You want to set the default workspace path

openclaw setup

初始化 ~/.openclaw/openclaw.json 和 agent 工作区。

相关:

示例

openclaw setup
openclaw setup --workspace ~/.openclaw/workspace

通过 setup 运行向导:

openclaw setup --wizard