# Delete all node_modules folder using npkill


### Step 1: Install it

```bash
sudo npm i -g npkill
```

Or you can use it without installing with **npx**

```bash
npx npkill
```

### Step 2:
Go the directory where you want to scan for node_modules folder

```bash
npkill     # if you have installed it

npx npkill     # if you have not installed it 
```

### Step 3: Delete the unwanted node_modules folder

1. Use the arrow keys to navigate.
2. Press the space key to delete the selected folder. 
3. To exit press ```q``` or ```ctrl + c```


<br>

> The default folder to scan is "." that is the current dir.

<hr>

**For more information about the flags that can to be used visit**  

[npkill - main](https://npkill.js.org/)
