stacy doctor
Run system diagnostics
Synopsis
stacy doctor [OPTIONS]
Description
Checks your system configuration and reports any issues. Verifies Stata installation, project detection, and write permissions. Run this first when troubleshooting.
Options
| Option | Description |
|---|---|
--refresh | Re-extract error codes from Stata |
Examples
Run diagnostics
stacy doctor
Exit Codes
| Code | Meaning |
|---|---|
| 0 | All checks passed |
| 1 | One or more checks failed |
See Exit Codes Reference for details.