npkill
Effortlessly manage and remove old node_modules folders to optimize your development environment.
- Status
- Generally available
- Last checked
- Checked · Oct 16, 2026
- License
- Open source
- Pricing
- Free tier · from $0
What it is
npkill is a tool designed to help developers find and remove heavy or outdated node_modules directories, streamlining the development process and freeing up disk space. It's particularly useful for maintaining clean project environments and improving build times.
npkill stands out as a simple yet effective tool for managing and cleaning up node_modules directories, offering developers an easy way to optimize their development environments without complex configurations.
When it fits — and when it doesn’t
A good fit for
Developers working on large JavaScript projects who need to manage disk space efficiently.
Teams that require frequent cleaning of node_modules directories to maintain optimal build times.
Look elsewhere if
Projects where manual management of dependencies is preferred over automated tools.
Small-scale projects with minimal dependency management needs.
Known weaknesses
Each one links to the public issue, changelog or docs page it came from, where we have one.
- 01
Limited documentation and examples
The tool's repository lacks detailed usage guides, making it difficult for new users to understand its full capabilities.
- 02
No support for non-Node.js projects
npkill is specifically designed for Node.js projects and does not provide functionality for other programming languages or frameworks.
- 03
Potential data loss if used incorrectly
Improper use of npkill can lead to accidental deletion of important node_modules directories, potentially causing build failures or requiring project reinstallation.
- 04
Does not automatically manage dependencies
npkill focuses on cleaning up existing directories but does not handle dependency management, which can still be a manual and error-prone process for developers.
What it does well
Identifies and removes old node_modules directories to optimize disk space.
Improves build times by cleaning up unnecessary files.
Easily integrates into existing development workflows.
Pricing
- Free tier
- YesOpen source — free to use
- Paid from
- $0
- Model
- Flat rate
- Enterprise plan
- No
Pricing not independently confirmed — check the vendor’s page.
Performance benchmarks
How Fast Is It?
Set up npkill
Setup steps, common gotchas and what to check after 30 days.