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

# panguard doctor

> Diagnose and troubleshoot common Panguard system issues.

The `doctor` command runs a series of diagnostic checks to identify common problems with your Panguard installation, configuration, and runtime environment. It provides actionable recommendations for each issue found.

## Usage

```bash theme={null}
panguard doctor
```

## Diagnostic Checks

The doctor command inspects the following areas:

| Check | What It Verifies |
| - | - |
| **Installation** | Binary integrity, version currency, dependencies |
| **Configuration** | Config file validity, required fields, path permissions |
| **Guard** | Service status, log file health, resource usage |
| **Network** | Connectivity to Panguard Cloud, DNS resolution, firewall rules |
| **Permissions** | File ownership, directory access, elevated privilege requirements |
| **Disk Space** | Available space for logs, scan data, and intelligence databases |

## Examples

`bash Run diagnostics panguard doctor `

## Sample Output

```
Panguard Doctor v1.10.1
======================

[PASS] Installation: binary intact, version 1.10.1 (latest)
[PASS] Configuration: ~/.panguard/config.yaml valid
[WARN] Guard: not running -- start with 'panguard guard start'
[PASS] Network: cloud API reachable (latency 45ms)
[PASS] Permissions: all directories accessible
[FAIL] Disk Space: /var/log/panguard has only 200MB free (minimum 500MB)

1 failure, 1 warning, 4 passed
```

> [!TIP]
>
> Run `panguard doctor` whenever you encounter unexpected behavior before opening a support ticket.
> The output is designed to be shared with the support team.

## Related

> [card] [Common Issues](https://docs.panguard.ai/troubleshooting/common-issues.md)
>
> Solutions for frequently encountered problems.

> [card] [panguard status](https://docs.panguard.ai/cli/status.md)
>
> Quick health overview of all services.

> [card] [Guard Troubleshooting](https://docs.panguard.ai/troubleshooting/guard-issues.md)
>
> Specific troubleshooting for Guard agent issues.


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