Skip to content

Instantly share code, notes, and snippets.

View wgalleti's full-sized avatar

William Gallëti wgalleti

View GitHub Profile

Remove all node_modules

choose the dir and run...

mac / linux

find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \;

windows prompt

FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" rm -rf "%d"