2026-01-15 06:12:54 +00:00
|
|
|
|
---
|
2026-01-30 03:15:10 +01:00
|
|
|
|
summary: "CLI reference for `openclaw setup` (initialize config + workspace)"
|
2026-01-15 06:12:54 +00:00
|
|
|
|
read_when:
|
|
|
|
|
|
- You’re doing first-run setup without the full onboarding wizard
|
|
|
|
|
|
- You want to set the default workspace path
|
2026-01-31 16:04:03 -05:00
|
|
|
|
title: "setup"
|
2026-01-15 06:12:54 +00:00
|
|
|
|
---
|
|
|
|
|
|
|
2026-01-30 03:15:10 +01:00
|
|
|
|
# `openclaw setup`
|
2026-01-15 06:12:54 +00:00
|
|
|
|
|
2026-01-30 03:15:10 +01:00
|
|
|
|
Initialize `~/.openclaw/openclaw.json` and the agent workspace.
|
2026-01-15 06:12:54 +00:00
|
|
|
|
|
|
|
|
|
|
Related:
|
2026-01-31 21:13:13 +09:00
|
|
|
|
|
2026-01-15 06:12:54 +00:00
|
|
|
|
- Getting started: [Getting started](/start/getting-started)
|
|
|
|
|
|
- Wizard: [Onboarding](/start/onboarding)
|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-30 03:15:10 +01:00
|
|
|
|
openclaw setup
|
|
|
|
|
|
openclaw setup --workspace ~/.openclaw/workspace
|
2026-01-15 06:12:54 +00:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
To run the wizard via setup:
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-30 03:15:10 +01:00
|
|
|
|
openclaw setup --wizard
|
2026-01-15 06:12:54 +00:00
|
|
|
|
```
|