CLI tool to scan for node_modules directories, calculate their sizes, and interactively delete selected ones.
- Scans filesystem recursively for
node_modulesdirectories - Interactive terminal UI for selection and deletion
- Supports dry-run mode
- Safe deletion with confirmation
-p, --path string: Path to scan (default ".")-d, --dry-run: Dry run mode (default false)
- Arrow keys or j/k: Navigate
- Space: Select/deselect
- a: Select all
- Enter: Confirm deletion
- q or Ctrl+C: Quit
Scan current directory:
nmcleanScan specific path:
nmclean -p /path/to/projectDry run:
nmclean -d