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

# `coderclaw setup`

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

Related:

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

## Examples

```bash
coderclaw setup
coderclaw setup --workspace ~/.coderclaw/workspace
```

To run the wizard via setup:

```bash
coderclaw setup --wizard
```
