Skip to main content

Command Palette

Search for a command to run...

Struggling with Low Disk Space? Clean node_modules the Easy Way

Updated
1 min read
Struggling with Low Disk Space? Clean node_modules the Easy Way

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!

More from this blog

H

Habib Qureshi

13 posts

I Help Startups Scale with Cloud-Native Solutions & Unlock Growth Through Strategic AI & LLM Integration