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