Commands / dpm doctor

dpm doctor

Run a set of health checks on your DPM installation. Use this to diagnose PATH issues, broken tool records, or a misconfigured environment.

CLI usage

sh
dpm doctor # short alias dpm -d

Output

Doctor prints a report of each check with a status indicator:

sh
dpm doctor platform linux/amd64 dpm root ~/.dpm theme default ✓ dpm in PATH ✓ metadata intact ✓ nmap accessible ✗ binwalk not found in PATH ⚠ radare2 version mismatch

Status indicators

What doctor checks

TUI: Doctor view

Press M to open the main menu, then select Doctor. The view shows the same platform info and check list with colour-coded status indicators:

Each check shows its name and a message. The view shows "Running diagnostics…" while checks are in progress. Press ESC to close.

Common issues and fixes

dpm not in PATH

Your shell may not have reloaded PATH yet. Open a new terminal, or reload your shell config file.

Tool not found in PATH

DPM-managed tool links are exposed from ~/.dpm/bin/. If that directory is missing from PATH, tools may not be found. Add it manually:

export PATH="$HOME/.dpm/bin:$PATH"

Version mismatch

This usually means a tool was updated outside of DPM (e.g. via apt upgrade) and the binary version no longer matches DPM's record. Run dpm update <tool> to re-sync the record, or reinstall the tool with DPM.