# npkill

> Easily find and remove old and heavy node_modules, artifacts, caches and dev leftovers

Source: https://talira.ai/catalog/npkill-4hc2q493
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / disk cleanup](https://talira.ai/categories/developer-tools/disk-cleanup), [languages / javascript](https://talira.ai/categories/languages/javascript)
- Platforms: linux, windows, cli[^5]
- Licence: MIT[^1]
- Pricing: Free and open source[^1][^2]
- Free tier: yes[^1][^2]
- Self-hostable: yes[^2]
- API: yes[^4]

npkill scans your system for heavy development directories, starting with node_modules and extended through profiles to Python, Rust, game engines and more. Its TUI shows what is taking space, when you last worked in each project, and lets you delete folders individually or in multi-select mode. It warns about node_modules that installed apps need, and has JSON output and an API.

## Links

- Website: https://npkill.js.org
- GitHub: https://github.com/voidcosmos/npkill

## Problems it solves

- dozens of old projects each have a 500MB node_modules folder
- find every node_modules on my machine and delete the ones I don't need
- which old projects haven't I touched in months, and how much space do they use
- free up gigabytes before backing up my code folder
- clean Python venvs and Rust target folders too, not only Node
- run one npx command to clean up without installing anything
- pick several dependency folders and delete them at once
- get a JSON list of heavy dev folders for a script

## Features

- profiles for Node, Python, Rust and more
- last-modified workspace info
- multi-select
- search
- .npkillrc
- JSON output
- API

## Capabilities

- Has an API: plan not known
- Has a command line tool: plan not known

## Trust

Overall: 0.67 out of 1.
Signals: maintenance 1.00, adoption 0.80, momentum 0.61, community 0.63, backing 0.00, extensibility 0.40.

- last commit 11 days ago
- 116 commits in the last 90 days
- latest release v1.0.0 11 days ago
- 9.5k GitHub stars
- 37 contributors
- accepts sponsorship (Open Collective, Custom)

## Alternatives

- [Mole](https://talira.ai/catalog/mole-q6myyge7.md): Open-source Mac and PC cleaner. Keep your machine clean, light, and running like new.
- [Kondo](https://talira.ai/catalog/kondo-xpxt13es.md): Cleans dependencies and build artifacts from your projects.
- [cargo-sweep](https://talira.ai/catalog/cargo-sweep-4ba8ja0v.md): A cargo subcommand for cleaning up unused build files generated by Cargo
- [cargo-cache](https://talira.ai/catalog/cargo-cache-qtjjnc5p.md): manage cargo cache (${CARGO_HOME}, ~/.cargo/), print sizes of dirs and remove dirs selectively
- [Poo](https://talira.ai/catalog/poo-n2xm16rg.md): Find and safely free the disk space your dev work eats

## Sources

[^1]: https://github.com/voidcosmos/npkill/blob/main/LICENSE (checked 17 Nov 2026)
[^2]: https://github.com/voidcosmos/npkill (checked 17 Nov 2026)
[^3]: https://npkill.js.org (checked 17 Nov 2026)
[^4]: https://github.com/voidcosmos/npkill/blob/main/API.md (checked 17 Nov 2026)
[^5]: https://github.com/voidcosmos/npkill/blob/main/README.md (checked 17 Nov 2026)
