Struggling with Low Disk Space? Clean node_modules the Easy Way

Habib QureshiHabib Qureshi
1 min read

If you’re a Node.js developer working on multiple projects, you know how quickly the node_modules folder can grow—and how much valuable disk space it can consume.

The Problem

Deleting node_modules folders from many different projects can be a pain. It takes time to find them all, and mistakes are easy to make.

The Solution

To make things easier, I created a small tool called nmcleaner.

What it does:

  • Scans your selected folder and finds all node_modules inside it.

  • Shows you the list and asks before deleting anything.

  • Tells you how much space you saved after the cleanup.

This tool is really helpful if you have limited disk space and often work on many projects.

💡 Note: Tools like this can save you time and help keep your system clean. If you find it useful, feel free to share it with others or contribute to the project on GitHub!

0
Subscribe to my newsletter

Read articles from Habib Qureshi directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Habib Qureshi
Habib Qureshi