- It's very tedious work to delete all node_modules folders individually. That's why "npkill" comes into the picture.
- In this thread, we are going to see how we can easily delete all node_modules from our computer.
let's start...
- In this thread, we are going to see how we can easily delete all node_modules from our computer.
let's start...
2οΈβ£ If the above command does not work on your computer, then you can follow the 2nd way of using it. We need to install it on our computer first.
- Then the above command will be easily run on your computer.
- Run any of the below commands:
$ npm i npkill
$ npm i -g npkill
- Then the above command will be easily run on your computer.
- Run any of the below commands:
$ npm i npkill
$ npm i -g npkill
- Now, we need to run the first command "npx npkill" and then it will display all "node_modules" inside a directory.
- After that navigate to the particular "node_modules" folder using the up and down arrow.
- After that navigate to the particular "node_modules" folder using the up and down arrow.
- Now just hit "spacebar" on your keyboard and that's it, it will be deleted your selected "node_modules".
- In short:)
Select the desired "node_modules" and hit the "spacebar".
Learn more: npmjs.com
- In short:)
Select the desired "node_modules" and hit the "spacebar".
Learn more: npmjs.com
That's all for now, we will meet in the next threadπ
π Follow Me @ATechAjay
For:
π Web Development
β¨ JavaScript
βοΈ React JS
π Writing Skill
π₯ Motivation
πΉ Growth
β But Not For Only Resources & Shitpost π
Thank you so much for staying to the end of this threadπ
π Follow Me @ATechAjay
For:
π Web Development
β¨ JavaScript
βοΈ React JS
π Writing Skill
π₯ Motivation
πΉ Growth
β But Not For Only Resources & Shitpost π
Thank you so much for staying to the end of this threadπ
Loading suggestions...