Thanks to visit codestin.com
Credit goes to lib.rs

#delete #nodejs #node-modules #clean

app nuke_modules

Nuke all node_modules starting from the current working directory

1 unstable release

Uses new Rust 2024

0.1.0 Oct 21, 2025

#2087 in Command line utilities

MIT license

17KB
317 lines

💥 nuke_modules

A command line program that recursively finds and deletes all your node_modules starting from your current working directory.

Freeing up much needed space.

Install

cargo install nuke_modules
nuke_modules -h

Install from source

git clone [email protected]:kemicofa/nuke_modules.git
cd nuke_modules
cargo install --path .
nuke_modules -h

Dependencies

~16–25MB
~386K SLoC