How to delete all node_modules directories from your computer | CSS-Tricks

PHOTO EMBED

Sat Jul 18 2020 00:12:55 GMT+0000 (Coordinated Universal Time)

Saved by @ObiWanMaxim

# Mac/Linux
find . -name "node_modules" -type d -prune -print | xargs du -chs

# Windows
FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" echo %d"
content_copyCOPY

https://css-tricks.com/how-to-delete-all-node_modules-directories-from-your-computer/