freedisk.spaceAll guides

How to find and delete node_modules to free disk space

Every JavaScript project keeps its own node_modules folder, and old projects you no longer touch still hold all of theirs. Deleting node_modules is safe as long as the project has a package.json and a lockfile, because npm install or npm ci brings it back. Find them all with one Terminal or PowerShell command, check their sizes, and remove the ones from projects you aren't working on.