Node version managers on a Mac: nvm, fnm and Volta installs measured, and which one can remove a Node version

By the Zofle team · 18 November 2026 · 6 min read

Three Node version managers and the disk space of three installed Node versions

Three Node versions installed through a version manager took 664 MB with nvm, 690 MB with fnm and 777 MB with Volta, and that is before you count a single project. We installed Node 20, 22 and 24 through each tool in a scratch folder, added two global packages, measured every folder, then removed the old versions the way each tool allows. The three tools do not clean up the same way, and one of them cannot remove a Node version at all.

What we measured

  • Tools: nvm 0.40.3, fnm 1.39.0 and Volta 2.0.2, each in its own folder under /tmp, with a scratch home folder so nothing touched the real one.
  • Node versions: 20.20.2, 22.23.5 and 24.22.3, the newest release of each line on 17 November 2026.
  • Global packages: typescript and prettier. With nvm and fnm they were installed with npm i -g inside each version. With Volta they were installed once with volta install.
  • Sizes are du -sk numbers (space on disk) in MB of 1,048,576 bytes, from one Apple M4 Mac mini on macOS 27.0.1.

Three installs side by side

WherenvmfnmVolta
Node 20.20.2 + globals194.9205.4164.7 (globals kept apart)
Node 22.23.5 + globals228.2232.4191.4
Node 24.22.3 + globals240.5252.4211.5
Kept download archives73.0 (.cache, .tar.xz)none139.1 (tools/inventory, .tar.gz)
Global packages, shared——41.1 (tools/image/packages)
The tool itself2.8—29.0 (bin)
Whole tool folder739.4690.2776.8

Every version is large because Node itself is. In the 24.22.3 folder, measured with nvm:

Part of one Node 24 installMB
bin/node (the program, 122,586,000 bytes)116.9
include/ (C++ headers for building native add-ons)64.4
lib/node_modules/npm16.3
typescript (global, 7.0.2)30.0
prettier (global, 3.10.1)11.1
corepack0.8

A plain Node 20 with only the bundled npm was 153.7 MB; the two globals added 41.1 MB to it, and nvm and fnm repeat that 41 MB in every version. Volta keeps one copy of each package, so its three Node folders are 29 to 41 MB smaller.

The same file is bigger with fnm and Volta

The <code>node</code> file is 122,586,000 bytes in all three tools, but <code>stat</code> showed 239,432 blocks of 512 bytes under nvm (116.9 MB) and 263,816 blocks under fnm (128.8 MB). Volta's copy measured 129.0 MB. That is about 12 MB per version that fnm and Volta allocate beyond the file's length. We did not find out why (we suspect how each tool writes the file out); we only know that <code>du</code> counts it. It is the reason fnm's 24.22.3 folder is 12 MB larger than nvm's although both hold the same files.

Removing old versions, tool by tool

StepnvmfnmVolta
Remove Node 20 and 22nvm uninstall 20.20.2, then 22.23.5: 739.4 → 316.3 MB (−423.1)fnm uninstall 20.20.2, then 22.23.5: 690.2 → 252.4 MB (−437.8)volta uninstall node@20.20.2 fails: “Uninstalling node is not supported yet.” (also for plain node)
What is left behindthe 73.0 MB archive cachenothingeverything: the image folders and the 139.1 MB of archives
Clear the leftoversnvm cache clear: 316.3 → 243.2 MB (−73.1)—delete tools/image/node/20.20.2, …/22.23.5 and their node-v…tar.gz and node-v…-npm files by hand: 776.8 → 332.7 MB (−444.1)
Remaining243.2 MB: Node 24 plus the 2.8 MB tool252.4 MB: Node 24 only332.7 MB; 281.7 MB after also deleting the Node 24 archive
  • nvm removes the version but keeps the downloaded archive (20.7 MB for Node 20, 73.0 MB for the three). nvm cache clear removes them. The next nvm install of that version downloads again.
  • fnm keeps no archive and cleans up fully. Removing the version that was the default also removed the alias (“Alias default was removed successfully”), so run fnm default 24.22.3 afterwards or new shells will have no Node.
  • Volta has no command for it in 2.0.2. We deleted the folders and archives of 20 and 22 ourselves and volta list all then showed only Node 24, with tsc and prettier still working. Deleting the Node 24 archive as well left Node 24 and tsc -v working, because the archive is only a download copy. Volta's globals live apart from the Node versions, so removing a Node version never removes a global package.

The cache nobody mentions

All three installs of <code>typescript</code> and <code>prettier</code> went through npm, which kept a 32 MB download cache in <code>~/.npm</code> that none of the three managers touches. <code>npm cache clean --force</code> empties it. That cache is the same whichever manager you use.

Other Node copies on the same Mac

InstallMB (Cellar)
Homebrew node 26.13.076.7
Homebrew node@22 22.23.457.4

Homebrew is a fourth place for Node. If you use a version manager and Homebrew's Node, you have at least two installs of the same line. Our <a href="https://zofle.com/articles/homebrew-mac-storage-cellar-caskroom-cache-cleanup">Homebrew storage article</a> covers the Cellar and the cache.

What to do on your Mac

  • List what you have: nvm ls, fnm list or volta list all.
  • Keep the lines you build against (the ones in your .nvmrc, .node-version or package.json engines) and remove the rest.
  • Expect 150 to 250 MB back per version with nvm and fnm; the exact figure depends on the globals you installed into it.
  • After nvm: run nvm cache clear. After fnm: reset the default. With Volta: delete the folder under tools/image/node/ and the matching archive under tools/inventory/node/.
  • Closely related: the language-version side of this for Ruby is in Ruby on a Mac, and the node_modules and Gradle caches are in Developer disk hogs.

Zofle lists these folders by size on disk in one place, so you can see the version folders next to your other caches, and it moves what you pick to the Trash with Undo.

Zofle shows Node version folders, package caches and other developer leftovers sorted by size on disk, and moves them to the Trash with Undo.

Download Zofle for Mac

Sources and method

  • Releases: nvm v0.40.3 (github.com/nvm-sh/nvm), fnm v1.39.0 (github.com/Schniz/fnm), Volta v2.0.2 (github.com/volta-cli/volta); Node 20.20.2, 22.23.5 and 24.22.3 from nodejs.org/dist/index.json, read 18 November 2026.
  • Run on 18 November 2026 on one Apple M4 Mac mini, macOS 27.0.1, with HOME set to a scratch folder and each tool in its own folder; everything was deleted afterwards. Sizes are du -sk; one machine, one run, so treat the third digit as noise. The reason for the 12 MB per-version difference was not investigated. Volta's “not supported yet” message is the one printed by 2.0.2 and may change.

Zofle Pro news

People signing up now will get Zofle Pro, with more features, for free when we launch it.

One email when it's ready. No spam, ever.