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

# `hanzo-bot setup`

Initialize `~/.hanzo-bot/hanzo-bot.json` and the agent workspace.

Related:

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

## Examples

```bash
hanzo-bot setup
hanzo-bot setup --workspace ~/.hanzo-bot/workspace
```

To run the wizard via setup:

```bash
hanzo-bot setup --wizard
```
