Commands / dpm remove

dpm remove

Uninstall a DPM-managed tool. DPM auto-detects the installed version if you don't specify one.

CLI usage

sh
dpm remove <tool[@version]> # short alias dpm -r <tool[@version]>

Arguments

Examples

sh
# remove whatever version is installed dpm -r nmap ✓ removed nmap 7.95 # remove a specific version dpm -r binwalk@2 ✓ removed binwalk 2.4.3

TUI: Installed tab

Navigate to the Installed tab with TAB. Select a tool with ↑↓ and press DEL to remove it. A confirmation dialog appears before the tool is uninstalled.

Batch removal

Press B to enter batch mode. Checkboxes appear next to each tool. Use SPACE to select multiple tools, then DEL to remove all selected at once. A confirmation dialog shows the full list before anything is removed.

Batch removal is TUI-only. To remove multiple tools from the CLI, run dpm remove once per tool.

What gets removed

DPM only removes what it installed. For direct HTTP installs, DPM removes managed files under ~/.dpm/ and removes the link in ~/.dpm/bin/. For apt or brew installs, DPM calls the matching package manager remove command. DPM metadata for that tool is also cleaned up.

To remove everything DPM manages at once, see dpm restore.