First, let's take a look at ALL the node_modules we have in a directory, before we actually start deleting them!
cd documents
find . -name "node_modules" -type d -prune -print | xargs du -chs
--- Example output ---
1.0G ./Github/big-project/node_modules
225M ./Github/Trilon.io/node_modules
482M ./Github/Some_Demo/node_modules
1.7G total
cd documents
FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" echo %d"
$ cd documents
$ find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \;
$ cd documents
$ FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" rm -rf "%d"
Get-ChildItem -Path "." -Include "node_modules" -Recurse -Directory | Remove-Item -Recurse -Force
FOR /d /r . %d in (node_modules) DO @IF EXIST "%d" rd /s /q "%d"
this will delete folders silently in command prompt