> ## Documentation Index
> Fetch the complete documentation index at: https://docs.openclaw.ai/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)
* Wizard: [Onboarding](/start/onboarding)

## Examples

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

To run the wizard via setup:

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


Built with [Mintlify](https://mintlify.com).