openclaw / docs /cli /setup.md
quinnz's picture
change port 18789 to 7860
3509093
metadata
summary: 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

Initialize ~/.openclaw/openclaw.json and the agent workspace.

Related:

Examples

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

To run the wizard via setup:

openclaw setup --wizard