rm -rf node_modules/
npm install
rm -rf node_modules
rm -rf node_modules/
yarn install
rm -rf node_modules //when need to unstill node_modules folder
npm install //wen need to install
rm -r node_modules
// run this from git bash
//go to folder and type key
npx npkill
rm -r node_modules
npm uninstall node_module_name
npm install rimraf -g
rimraf node_modules
npkill
// then press space key
Simply use below command in cmd and change module_name with different modules
>npm uninstall <module_name>
To delete folders one by one and printing the folder being deleted,
use the below terminal command:
find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' ;
robocopy /MIR c: est D:UserDataFolderToDelete > NUL