# doctor
URL: https://synquic.tech/docs/cli/reference/doctor.md

Commands, arguments, and options for synq doctor.

See the [CLI overview](/docs/cli) for examples. Global flags such as `--json` go before the command; see [global options](/docs/cli/reference#global-options).

## synq doctor

Check database + services health and repair a corrupt local database

```text
synq doctor [options]
```

| Option | Meaning |
| --- | --- |
| `--fix` | Attempt an automatic database repair (backup → heal → restart), no prompts |
