Skip to content

Assorted Quick Tips

There are countless other small tips that are nice to know.

Managing Node Projects

Removing node_modules Folders

As you create more and more Node projects, you will find several node_modules folders littering your computer. It’s not unusual, especially after months or years of exploratory work or self-learning, to have dozens or even hundreds of node_modules folders on your system. That can eat up a lot of computer space!

Try using npkill to clean up your system. Just open a stand-alone terminal on your computer and run the following.

Terminal window
npx npkill

For complete usage instructions, see npkill.js.org.