clear npm module code example Example: clean npm installed node_modules folder rm -rf node_modules/ npm install