Safe to Delete

Node Version Manager Cache (~/.nvm/.cache)

Quick Answer: The nvm .cache folder stores downloaded Node.js release tarballs and headers. Purging the nvm cache is completely safe.

Bottom Line: It is 100% safe to clear ~/.nvm/.cache. Node Version Manager (nvm) stores downloaded Node.js binary tarballs and source header archives. Deleting them reclaims gigabytes of disk space without uninstalling your active Node versions.


What is the nvm Cache Folder?

Located at ~/.nvm/.cache (or ~/.nvm/src), nvm caches Node.js release packages (node-v18.x.x.tar.gz, node-v20.x.x.pkg) whenever you run nvm install <version>.

Over years of development, old Node release installers accumulate in the cache directory.


Can You Delete the nvm Cache?

✅ Yes, completely safe to delete.

  • No runtime impact: Your installed Node binaries (nvm ls) and global npm packages remain 100% active.

How to Clear nvm Cache

nvm cache clear

Discussion

Loading authentication...

Related in developer

The AI Engineer's Model Disk Cleanup Guide: Hugging Face, Ollama & PyTorch

The ultimate 1,200-word field guide for AI developers and local LLM hobbyists to reclaim 200GB+ from Ollama, Hugging Face, PyTorch, and vLLM model weights.

Safe to Delete

Android Studio System Index Cache (AndroidStudio Cache)

Android Studio caches Gradle project indexes, VFS caches, and compiler artifacts. Invalidate and clear is safe.

Safe to Delete

Ansible Automation Temp & Fact Cache (~/.ansible/tmp)

Ansible stores temporary playbook execution modules and target host fact JSON caches in ~/.ansible/tmp. Clearing Ansible tmp is safe.

Safe to Delete
Back to all files