# setup

# `openclaw setup`

Initialize the OpenClaw configuration file and agent workspace environment.

## Overview

The `openclaw setup` command establishes `~/.openclaw/openclaw.json` and sets up the agent workspace.

## Basic Usage

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

## Wizard Mode

To launch the interactive onboarding wizard during setup:

```bash
openclaw setup --wizard
```

## Related Resources

* Getting started guide: [Getting Started](/start/getting-started)
* Onboarding wizard documentation: [Onboarding](/start/onboarding)
