Skip to content

mine doctor

Run a suite of health checks and report what’s working — and what isn’t — with actionable fix suggestions.

Terminal window
mine doctor
✓ Config ~/.config/mine/config.toml found and valid
✓ Store SQLite database opens and responds
✓ Git git 2.43.0 found in PATH
✗ Shell helpers shell integration not detected
→ Run mine init to install shell helpers (p, pp, menv)
✓ AI Provider: claude (claude-sonnet-4-5)
✓ Analytics Enabled (opt out: mine config set analytics false)

Exit code is 0 if all checks pass, 1 if any check fails.

CheckPass ConditionFix on Failure
Config~/.config/mine/config.toml exists and parses without errorRun mine init
StoreSQLite database opens and responds to queriesRe-run mine init or check disk space
Gitgit is found in $PATHInstall git from your package manager
Shell helpersmine init was completed and user name is setRun mine init to install p, pp, menv
AIAn AI provider is configuredRun mine ai config
AnalyticsAlways passes — shows current statusOpt out: mine config set analytics false
Terminal window
# Run all checks
mine doctor
# Pipe output for scripting (exit code signals pass/fail)
mine doctor && echo "all good"
  • Run mine doctor after any major system change (new machine, shell switch, mine upgrade).
  • If Shell helpers fails, run mine init — it will detect that everything else is set up and only install the shell integration.
  • The Analytics check always passes; it’s informational only.