npx npkill
//This will list any node_modules directories in your system,
//You can then select which ones you want to erase to free up space
rm -rf node_modules
//Run inside parent directory.The command will delete the content
//of node_modules recursively
//then it will remove the node_modules folder too.