You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
---
|
|
|
|
|
|
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
|
|
|
|
|
|
title: "setup"
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
# `openclaw setup`
|
|
|
|
|
|
|
|
|
|
|
|
Initialize `~/.openclaw/openclaw.json` and the agent workspace.
|
|
|
|
|
|
|
|
|
|
|
|
Related:
|
|
|
|
|
|
|
|
|
|
|
|
- Getting started: [Getting started](/start/getting-started)
|
|
|
|
|
|
- Wizard: [Onboarding](/start/onboarding)
|
|
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
openclaw setup
|
|
|
|
|
|
openclaw setup --workspace ~/.openclaw/workspace
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
To run the wizard via setup:
|
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
|
openclaw setup --wizard
|
|
|
|
|
|
```
|