flush-npm Usage Install it globally via Volta or npm or use it with npx flush-npm Install via Volta $ volta install flush-npm Install via npm $ npm i -g flush-npm When run flush-npm in your project directory, it will: Remove node_modules/ Remove package-lock.json Run npm install