re: How to delete ALL node_modules folders on your machine and free up HD space! VIEW POST



With this you can see how much each node_modules directory occupies:

find . -name "node_modules" -type d -prune | xargs du -chs

It will also tell you the total at the end of the command


I like it !! Let me update the article with this in there. Definitely helpful 🙌

code of conduct - report abuse