Description
npkill is a command-line tool that lists the node_modules folders scattered across your computer, shows how much space each one takes, and lets you choose which ones to delete to free up space. You run it with npx npkill, so there is nothing to install globally. Because node_modules folders can be very large and many projects keep their own copies, the tool helps clean up a development machine without searching for them by hand. The site describes it as fast and easy to use, with a list of all the controls and options. The project has a community section and a team and backers listed on the site. npkill suits developers who are running out of disk space and want to clear old dependency folders from projects they no longer work on. Deleting a node_modules folder is safe to repeat, since it can be reinstalled, but check the project before deleting one you need.…
Highlights
- Lists node_modules folders and their sizes
- Choose which folders to delete
- Run with npx, no global install needed
- Controls and options documented
Ratings & Reviews
No ratings yet
Be the first to rate npkill.
People also visit

Space Hunter
Professional macOS disk space monitoring & intelligent file cleaning application
npkill FAQ
What does npkill do?
It lists node_modules folders on your computer, shows their size, and lets you delete the ones you choose.
How do I run it?
With npx npkill.
Is it safe to delete node_modules?
The folders can be reinstalled, but check the project before deleting one you still need.
Where are the controls?
The site has a section listing all the controls and options.
What are the best npkill alternatives?
Popular alternatives to npkill include Space Hunter, Cleardisk and Node Modules Inspector. See all npkill alternatives





