Published on

How to Delete Inactive or Old node_modules with npkill

Authors

If you work on lots of node projects and use npm package manager for managing those projects then chances are you might have so many unwanted/unused/old projects with node_modules that eat up your storage.

And we can easily reclaim those wasted storage with the help of tools like npkill

With its help of it, we can easily select and delete inactive projects with their interactive CLI

Just run the following command, select the directory that needs to be deleted and it'll take care of the rest.

npx npkill

Happy more storage!