Is it safe to delete node-gyp headers?

~/Library/Caches/node-gyp · Safe to delete

What it is

Node.js headers downloaded to compile native modules.

Can you delete it?

Yes, it is rebuilt automatically. Downloaded again when a native module builds.

How to clean it safely

  1. Delete the folder.

How big is it on your Mac?

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

 Terminal
du -sh ~/"Library/Caches/node-gyp" 2>/dev/null

Step-by-step guide: Delete node_modules safely →

Questions

Is it safe to delete ~/Library/Caches/node-gyp?

Yes, it is rebuilt automatically. Downloaded again when a native module builds.

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