---
title: "Delete unused node_modules in a second and enjoy some free space!"
url: https://daily.dev/posts/delete-unused-node-modules-in-a-second-and-enjoy-some-free-space--nvlcwovkm
source_url: https://dev.to/this-is-learning/delete-unused-nodemodules-in-a-second-and-enjoy-some-free-space-f3p
type: article
source: "This is Learning"
author: "Leonardo Montini 😼"
published: 2022-08-05T07:15:22.664Z
updated: 2022-08-05T07:15:22.580Z
tags: ["github", "npm"]
reading_time: 3
upvotes: 115
comments: 8
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete unused node_modules in a second and enjoy some free space!

**[This is Learning](https://daily.dev/sources/til)** · [@balastrong](https://daily.dev/balastrong) · 3 min read · 115 upvotes · 8 comments

## Summary

The problem is mostly for active developers who have many projects in their computer, but everyone can get benefit from it. The solution is called npkill and you can find it on npm.js. This tool will navigate for your disk looking for node_modules folders and will list all of them.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/this-is-learning/delete-unused-nodemodules-in-a-second-and-enjoy-some-free-space-f3p>

## Community discussion

Top comments from developers on daily.dev.

**@aramlr** · 3 upvotes

> Awesome tool. I used to delete it manually but in Windows it takes too much time to delete heavy folders

**@anthony404** · 1 upvotes

> i dont use npm but this is still cool

**@kkurko** · 1 upvotes

> That's a great tool - my node_modules taking ~25GB (just checked using `npkill`), so definitely something I want to optimize in my storage.
>
> Btw if you know some other cool CLI tools please share it here. Just recently I learned from @idoshamun [zsh-z](https://github.com/agkozak/zsh-z) plugin for you bash or zsh that allows you to quickly navigate between folders based on you frequency of visits (check README for better explanation) and it's really cool. Then even more I found [oh-my-zsh](https://ohmyz.sh/) - it's like a framework for you shell with a number of different plugins included and...

**@fixotech** · 0 upvotes

> Remix + typescript + tailwindcss combo: the most heavy object of the universe!

**@bytefer** · 0 upvotes

> node_modules is the heaviest objects in the universe. npkill is a great space cleaner!

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#github](https://daily.dev/tags/github), [#npm](https://daily.dev/tags/npm)

[View this post on daily.dev](https://daily.dev/posts/delete-unused-node-modules-in-a-second-and-enjoy-some-free-space--nvlcwovkm)
