rm -Rf node_modules
Open your terminal.
Browse to your master project directory or the top level of where you have a bunch of projects stored.
Run the command: find . -name "node_modules" -type d -prune -exec rm -rf '{}' +
# MACOS
cd <directoryToDeleteFrom>
find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' ;