---
title: "Discussion on \"Delete Unused node_modules From Your Computer Like a Pro With \"npkill\"\" | Hashnode"
description: "Discussion on \"Delete Unused node_modules From Your Computer Like a Pro With \"npkill\"\". Get storage back - in seconds."
url: "https://hashnode.com/posts/delete-unused-nodemodules-from-your-computer-like-a-pro-with-npkill/602e148819bec71cf119ae7d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Delete Unused node\_modules From Your Computer Like a Pro With "npkill"](https://blog.natterstefan.me/delete-unused-nodemodules-from-your-computer-like-a-pro-with-npkill?utm_source=hashnode&utm_medium=feed)

Get storage back - in seconds.

Feb 18, 2021 · 4 min read · blog.natterstefan.me  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#storage](https://hashnode.com/tag/storage)
-   [#macos](https://hashnode.com/tag/macos)
-   [#windows](https://hashnode.com/tag/windows)

## Written by

[Stefan Natter](https://hashnode.com/@natterstefan)

@natterstefan · Austria

  
[View profile](https://hashnode.com/@natterstefan)

I am interested in and talking about JavaScript, ReactJS, NodeJS, and Software Engineering.

Hey 👋🏻, I am a Software Engineer from Austria 🇦🇹. I am interested in, write about, and develop (open source) software solutions for and with JavaScript, TypeScript, ReactJs, and NodeJS. You can see what I am currently up to on natterstefan.me . In the past, I was Product Owner of RAWR , Growth Hacker at the Speedinvest Startup Studio and Online Advertising Manager. Check out my LinkedIn profile for more details. 📬 Get in touch Twitter: twitter.com/natterstefan Blog: dev.to/natterstefan Web: natterstefan.me LinkedIn: linkedin.com/in/natterstefan 📧 Sign up for my newsletter .

## Responses 2

Markdown supported · ⌘↵ to post

[Hulya Masharipov](https://hashnode.com/@HulyaK)

[Mar 7, 2021](https://hashnode.com/posts/delete-unused-nodemodules-from-your-computer-like-a-pro-with-npkill/602e148819bec71cf119ae7d/comment/60442f065a56f82fa3ecc470)

Hi, I saw your post from Catalin's youtube channel. Is it okay if I delete Cache files from Visual Studio Code and yarn? I run this command(npx npkill) and it's showing me I have 95.53 GB of releasable space. Thanks for the information 👍🏻

[Stefan Natter](https://hashnode.com/@natterstefan)

[Mar 7, 2021](https://hashnode.com/posts/delete-unused-nodemodules-from-your-computer-like-a-pro-with-npkill/602e148819bec71cf119ae7d/comment/60442f065a56f82fa3ecc470#reply-60446df18458d42fc821ba67)

Hi [Hulya Karakaya](https://hashnode.com/@HulyaK), I’m glad you found my article.

npx will only delete node\_modules. So if it says you have ~96 GB of node\_modules it can delete, then yeah, it’s safe.

[Hulya Masharipov](https://hashnode.com/@HulyaK)

[Mar 7, 2021](https://hashnode.com/posts/delete-unused-nodemodules-from-your-computer-like-a-pro-with-npkill/602e148819bec71cf119ae7d/comment/60442f065a56f82fa3ecc470#reply-604474b28458d42fc821bab1)

Wow, thanks. I’m so excited 😀[Stefan Natter](https://hashnode.com/@natterstefan)

[Catalin Pit](https://hashnode.com/@Catalinpit)

[Feb 19, 2021](https://hashnode.com/posts/delete-unused-nodemodules-from-your-computer-like-a-pro-with-npkill/602e148819bec71cf119ae7d/comment/602f5865bfecab23c35253e9)

I cleaned 2.13GB of trash from my laptop with this. It's awesome! Thank you! 🔥

[Stefan Natter](https://hashnode.com/@natterstefan)

[Feb 19, 2021](https://hashnode.com/posts/delete-unused-nodemodules-from-your-computer-like-a-pro-with-npkill/602e148819bec71cf119ae7d/comment/602f5865bfecab23c35253e9#reply-602f6171bfecab23c35255a2)

You're welcome! It is sometimes crazy how much storage space we leave unused but consumed. :D

🤜🏻🤛🏻
