---
title: "Discussion on \"Delete all node_modules folder using npkill\" | Hashnode"
description: "Discussion on \"Delete all node_modules folder using npkill\". Step 1: Install it\nsudo npm i -g npkill\n\nOr you can use it without installing with npx\nnpx npkill\n\nStep 2:\nGo the directory where you want to scan for node_modules folder\nnpkill     # if you have installed it\n\nnpx npkill     # if you have not install..."
url: "https://hashnode.com/posts/delete-all-nodemodules-folder-using-npkill/6067589543f7713266914546"
---

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

Discussion

# [Delete all node\_modules folder using npkill](https://blog.harshitsaini.com/delete-all-nodemodules-folder-using-npkill?utm_source=hashnode&utm_medium=feed)

Step 1: Install it sudo npm i -g npkill Or you can use it without installing with npx npx npkill Step 2: Go the directory where you want to scan for node\_modules folder npkill # if you have installed it npx npkill # if you have not install...

Apr 2, 2021 · 1 min read · blog.harshitsaini.com  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#npm](https://hashnode.com/tag/npm)
-   [#javascript-modules](https://hashnode.com/tag/javascript-modules)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Harshit Saini](https://hashnode.com/@DEVRXT)

@DEVRXT · india

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

Software Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
