> ## Documentation Index
> Fetch the complete documentation index at: https://docs.profclaw.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# profclaw reset

> Reset profClaw configuration, database, or the complete installation to factory defaults.

## Synopsis

```bash theme={null}
profclaw reset [flags]
```

## Description

`reset` removes profClaw's persistent state. Use it to start fresh after a failed setup, before reinstalling, or to wipe data from a development environment. It can selectively reset CLI config, server settings, the database, the memory index, or everything at once.

> [!WARNING]
>
> `reset` is destructive and cannot be undone. Run `profclaw backup create` before resetting if you need to preserve data.

## Flags

**--config** `boolean`

Reset CLI config (`~/.profclaw/config.json`) to defaults. API URL reverts to `http://localhost:3000`.

**--settings** `boolean`

Reset server settings (`config/settings.yml`) to defaults.

**--db** `boolean`

Delete the SQLite database (`data/profclaw.db`). All users, tasks, conversations, and sessions are lost.

**--memory** `boolean`

Clear the memory index. Files on disk are not deleted, but the index must be rebuilt with `profclaw memory sync`.

**--all** `boolean`

Reset everything: config, settings, database, and memory index.

**--yes** `boolean`

Skip all confirmation prompts. Required for non-interactive use.

## Examples

```bash Reset CLI config only theme={null}
profclaw reset --config
```

```bash Reset server settings to defaults theme={null}
profclaw reset --settings
```

```bash Delete the database (fresh start) theme={null}
profclaw reset --db
```

```bash Full reset (wipe everything) theme={null}
profclaw reset --all
```

```bash Full reset without prompts (CI / reinstall scripts) theme={null}
profclaw reset --all --yes
```

```bash Recommended before a full reinstall theme={null}
profclaw backup create
profclaw reset --all --yes
profclaw onboard
```

## After Resetting

If you reset the database or all data, you must run `onboard` or `setup` again to create the admin account and configure providers:

```bash theme={null}
profclaw onboard
# or
profclaw serve &
profclaw setup   # web-based setup wizard
```

## Related

* [`profclaw backup`](https://docs.profclaw.ai/cli/backup) - Back up before resetting
* [`profclaw onboard`](https://docs.profclaw.ai/cli/onboard) - Re-run after a full reset
* [`profclaw config reset`](https://docs.profclaw.ai/cli/config) - Reset CLI config via the config command


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.