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

# Reset & Data Management

> Clear sessions, skills, workflows, eval data, or all MIRA data from your machine.

MIRA stores all your data locally in `mira.db` (SQLite). You can selectively clear specific data types or perform a complete factory reset.

## Data paths

| OS          | Path                                         |
| ----------- | -------------------------------------------- |
| **macOS**   | `~/Library/Application Support/mira/mira.db` |
| **Windows** | `%APPDATA%\mira\mira.db`                     |
| **Linux**   | `~/.config/mira/mira.db`                     |

## Selective data clearing

Press ⌘, → **Data Management**.

| Action                     | What it clears                                            |
| -------------------------- | --------------------------------------------------------- |
| **Clear all sessions**     | All chat sessions and message history                     |
| **Clear custom skills**    | All user-created skills (built-ins are unaffected)        |
| **Clear custom workflows** | All user-created workflows (built-ins are unaffected)     |
| **Clear eval profiles**    | All eval profiles, cases, and run history                 |
| **Clear activity logs**    | In-memory activity center log (already clears on restart) |

Each action shows a confirmation dialog listing the number of items that will be deleted. Deletion is permanent.

## Full factory reset

A factory reset clears **all** MIRA data:

* All sessions and messages
* All custom skills and workflows
* All eval profiles and run history
* All MCP server configurations
* All provider settings (API keys are also removed from the keychain)
* All preferences (reset to defaults)

To perform a factory reset:

<Steps>
  <Step title="Open Settings">
    Press ⌘,.
  </Step>

  <Step title="Go to Data Management">
    Click **Data Management** at the bottom of the sidebar.
  </Step>

  <Step title="Click Factory Reset">
    Click the red **Factory Reset** button.
  </Step>

  <Step title="Confirm">
    Type `RESET` in the confirmation field and click **Confirm**. MIRA restarts.
  </Step>
</Steps>

<Warning>
  Factory reset is irreversible. Export any skills, workflows, or eval profiles you want to keep before proceeding.
</Warning>

## Manual database deletion

If MIRA is not launching, you can delete the database manually:

```bash theme={null}
# macOS
rm ~/Library/Application\ Support/mira/mira.db

# Windows (PowerShell)
Remove-Item "$env:APPDATA\mira\mira.db"

# Linux
rm ~/.config/mira/mira.db
```

MIRA creates a fresh database on next launch.

<Note>Edit this page — [Open a pull request](https://github.com/satyendra2013/mira-app/edit/main/docs/configuration/reset-data.mdx)</Note>
