openclaw/docs/cli/setup.md

29 lines
556 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
summary: "CLI reference for `clawdbot setup` (initialize config + workspace)"
read_when:
- Youre doing first-run setup without the full onboarding wizard
- You want to set the default workspace path
---
# `clawdbot setup`
Initialize `~/.clawdbot/clawdbot.json` and the agent workspace.
Related:
- Getting started: [Getting started](/start/getting-started)
- Wizard: [Onboarding](/start/onboarding)
## Examples
```bash
clawdbot setup
clawdbot setup --workspace ~/clawd
```
To run the wizard via setup:
```bash
clawdbot setup --wizard
```