Is it safe to delete nvm Node versions?

~/.nvm/versions/node · Check first

What it is

Every Node.js version installed with nvm, with its global packages.

Can you delete it?

Sometimes, check what is inside first. Versions no project uses can go; global packages installed under them go too.

How to clean it safely

  1. Run: nvm ls
  2. Run: nvm uninstall <version> for ones you no longer use.

How big is it on your Mac?

This read-only command prints its size and changes nothing:

 Terminal
du -sh ~/".nvm/versions/node" 2>/dev/null

Step-by-step guide: Delete node_modules safely →

Questions

Is it safe to delete ~/.nvm/versions/node?

Sometimes, check what is inside first. Versions no project uses can go; global packages installed under them go too.

Let the raccoon do it, safely

Junk Raccoon finds this clutter for you, shows every file first, and keeps a one-click way back. Free to download, no account, no ads.

Download for Mac