> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openclaw.kr/llms.txt
> Use this file to discover all available pages before exploring further.

# setup

# `openclaw setup`

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

Related:

* Getting started: [Getting started](/start/getting-started)
* CLI onboarding: [Onboarding (CLI)](/start/wizard)

## Examples

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw setup
openclaw setup --workspace ~/.openclaw/workspace
```

To run onboarding via setup:

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw setup --wizard
```
