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

# `sophiaclaw setup`

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

Related:

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

## Examples

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

To run the wizard via setup:

```bash
sophiaclaw setup --wizard
```
