---
summary: "CLI reference for `moltbot 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
---

# `moltbot setup`

Initialize `~/.clawdbot/moltbot.json` and the agent workspace.

Related:
- Getting started: [Getting started](/start/getting-started)
- Wizard: [Onboarding](/start/onboarding)

## Examples

```bash
moltbot setup
moltbot setup --workspace ~/clawd
```

To run the wizard via setup:

```bash
moltbot setup --wizard
```

