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

# `gensparx setup`

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

Related:

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

## Examples

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

To run the wizard via setup:

```bash
gensparx setup --wizard
```
