dpm restore
Remove all DPM-managed tools and reset to a clean state. Use this to wipe a setup and start fresh.
Restore removes all tools DPM has installed. This cannot be undone. Re-applying your profiles or reinstalling tools individually is the only way to get them back.
CLI usage
sh
dpm restore [--yes]
# short alias
dpm -o [--yes]
Flags
--yes,-yskips the confirmation prompt.
Examples
sh
# interactive, asks for confirmation
dpm restore
this will remove all DPM-managed tools. continue? [y/N]
# non-interactive, skips prompt
dpm restore --yes
✓ restored, all tools removed
What is removed
Restore removes:
- All tools installed via DPM (direct HTTP binaries, apt packages DPM installed, pip packages DPM installed, etc.)
- DPM-managed state under
~/.dpm/, including tool links and install records - Installed dotfile configurations managed by DPM
Restore does not remove:
- The
dpmanddpm-tuibinaries themselves - The DPM cache directory (
~/.dpm/cache/) - Tools that were installed independently of DPM
TUI: Menu
Press M to open the main menu, then select Restore. A confirmation dialog appears with yes/no options. Navigate with ←→ and confirm with ENTER. Press ESC to cancel.