3

I just used Clean My Mac's space lens feature to understand what was eating my disk space and I found this under ~/Libary/Caches

enter image description here

Even with the biggest imagination, I can't think at a reason for that folder being so big, is it possible to safely (and periodically) delete this folder?

Thank you

Apperside
  • 3,542
  • 2
  • 38
  • 65

1 Answers1

6

Yes, you can delete that directory (or run yarn cache clean -- see How to clear cache in Yarn?).

Yarn, by default caches the packages it downloads (including different versions). If you delete this cache, the main side-effect that you'll see is it may take longer to run a yarn install because it will need to fetch the necessary packages again.

jnpdx
  • 45,847
  • 6
  • 64
  • 94