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