Reference / Application caches
Is it safe to delete ~/.npm/_logs on a Mac?
Safe to delete
It rebuilds itself automatically — you do nothing.
~/.npm/_logs
What it is
npm log files — historical only
If you delete it
No user-visible impact — logs are historical only
Category
Application caches
Don't guess — let diskspace check it live.
It pressure-tests the path against your live disk state and stages it reversibly, so you never lose anything you needed.
$ brew install tymrtn/diskspace/diskspace
$ diskspace explain ~/.npm/_logs # verdict + live pressure-test