recursively delete node_modules
find . -name "node_modules" -type d -exec rm -rf '{}' +
recursively delete node_modules
find . -name "node_modules" -type d -exec rm -rf '{}' +
delete all node_modules folders recursively windows
This is for windows - type on the command line to list all node_modules folders:
For /d /r . %d in (node_modules) Do @IF EXIST "%d" echo %d
To delete all the listed folders:
For /d /r . %d in (node_modules) Do @IF EXIST "%d" del /Q "%d"
The /Q flag is "Quiet mode" - Does not ask if ok to delete on global wildcard
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us