The short answer
Yes. Rebuilt or re-downloaded automatically when needed.
What is it?
Modern Yarn (version 2 and later, “Berry”) keeps a global mirror of package archives in ~/.yarn/berry/cache, shared by all projects. Projects that do not commit their own cache copy packages from here when installing.
What happens if you delete it?
Yarn downloads packages again into the mirror on the next yarn install. A project’s own .yarn/cache folder, used for zero-installs, is separate and unaffected.
How to remove it properly
Run yarn cache clean --mirror inside any Yarn 2+ project to empty the global mirror with Yarn’s own command, or move ~/.yarn/berry/cache to the Trash.
Quit the app that uses it, then move it to the Trash. Empty the Trash when you’re sure.
How MoreRoom helps
MoreRoom recognises this item, shows its real size and when it was last used, and labels it “Safe to remove”. In the free version you can move it to the Trash in one click, with Undo; Pro collects every safe item at once.
Frequently asked questions
Is it safe to delete the Yarn Berry global cache?
Yes. Rebuilt or re-downloaded automatically when needed. Yarn downloads packages again into the mirror on the next yarn install. A project’s own .yarn/cache folder, used for zero-installs, is separate and unaffected.
Will Yarn (Berry) global cache come back after I delete it?
Yes. Yarn downloads packages again into the mirror on the next yarn install. A project’s own .yarn/cache folder, used for zero-installs, is separate and unaffected.
How do I remove Yarn (Berry) global cache properly?
Run yarn cache clean --mirror inside any Yarn 2+ project to empty the global mirror with Yarn’s own command, or move ~/.yarn/berry/cache to the Trash.