Back to feed
Dev.to
Dev.to
6/18/2026
Blazing-fast terminal cleanup tool for heavy build artifacts

Blazing-fast terminal cleanup tool for heavy build artifacts

Short summary

ZapDir is a free, open-source Node.js terminal tool that scans projects for heavy build artifacts (node_modules, .next, dist, etc.) and provides an interactive interface to delete them safely. The author recovered 12GB from their development machine; features include dry-run preview, color-coded size bars, and async parallel scanning that completes in under 10 seconds. Available via npm on Windows, macOS, and Linux.

  • Free, open-source tool that identifies and removes build artifacts (node_modules, .next, dist, etc.) to reclaim disk space
  • Interactive TUI with dry-run preview, color-coded sizes, and parallel async scanning that runs in under 10 seconds
  • Cross-platform (Windows, macOS, Linux) with safety features like confirmation prompts and graceful error handling

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Explore more