---
title: "What is the Caches/Yarn · .yarn/berry/cache folder on Mac?"
description: "Caches/Yarn · .yarn/berry/cache belongs to Yarn. What’s inside, how big it gets (500 MB – 15 GB), whether it’s safe to delete, and the right way to shrink it."
url: https://tidymac.space/folders/yarn-cache/
updated: 2026-10-16
---

[Home](/) [Folders](/folders/) Caches/Yarn · .yarn/berry/cache

# What is the Caches/Yarn · .yarn/berry/cache folder on my Mac?

It belongs to **Yarn**. Here’s what’s inside and the right way to deal with it.

SafeUsually 500 MB – 15 GBUpdated October 2, 2026By the Tidy Mac team

Short answer

Yarn keeps a global cache of downloaded package archives so installs are fast and work offline. Yarn 1 stores it in ~/Library/Caches/Yarn, Yarn 2+ in ~/.yarn/berry/cache. It’s safe to clear; Yarn downloads packages again when a project needs them.

**Location:** `~/Library/Caches/Yarn · ~/.yarn/berry/cache`

## What’s inside

-   Zipped or unpacked package archives
-   Registry metadata

**Our verdict: Safe.** Your Mac or your apps recreate this automatically. Removing it won’t lose anything you made.

## The Yarn way

```
yarn cache clean
```

On Yarn 2 or later, add `--all` to also clear the shared global cache.

![](/img/brand/tidy-128.png)

### Find every folder like this on your Mac

Tidy Mac’s Space Map shows every big folder at its real size, and Apps › Leftovers finds folders left by apps you already deleted.

[Download](/download/TidyMac.dmg) [Buy for $9.99 once](/buy/)

## Frequently asked questions

Can I delete Caches/Yarn · .yarn/berry/cache?

Safe: Your Mac or your apps recreate this automatically. Removing it won’t lose anything you made. Yarn keeps a global cache of downloaded package archives so installs are fast and work offline. Yarn 1 stores it in ~/Library/Caches/Yarn, Yarn 2+ in ~/.yarn/berry/cache. It’s safe to clear; Yarn downloads packages again when a project needs them.

Where is Caches/Yarn · .yarn/berry/cache on my Mac?

~/Library/Caches/Yarn · ~/.yarn/berry/cache. In Finder choose Go › Go to Folder and paste the path.

How big does Caches/Yarn · .yarn/berry/cache get?

Usually 500 MB – 15 GB.

## Keep reading

[What is .bun/install/cache?Bun](/folders/bun-install-cache/)[What is Caches/pip?pip (Python)](/folders/pip-cache/)[What is .cache/uv?uv (Python)](/folders/uv-cache/)[What is Caches/pypoetry?Poetry (Python)](/folders/poetry-cache/)

Share:[X](https://x.com/intent/post?text=What%20is%20the%20Caches%2FYarn%20%C2%B7%20.yarn%2Fberry%2Fcache%20folder%20on%20my%20Mac%3F&url=https%3A%2F%2Ftidymac.space%2Ffolders%2Fyarn-cache%2F)[Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Ftidymac.space%2Ffolders%2Fyarn-cache%2F&title=What%20is%20the%20Caches%2FYarn%20%C2%B7%20.yarn%2Fberry%2Fcache%20folder%20on%20my%20Mac%3F)[Hacker News](https://news.ycombinator.com/submitlink?u=https%3A%2F%2Ftidymac.space%2Ffolders%2Fyarn-cache%2F&t=What%20is%20the%20Caches%2FYarn%20%C2%B7%20.yarn%2Fberry%2Fcache%20folder%20on%20my%20Mac%3F)[LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Ftidymac.space%2Ffolders%2Fyarn-cache%2F)

#### On this page

[What’s inside](#whats-inside)[The Yarn way](#the-yarn-way)[FAQ](#faq)

**Tidy Mac**

See this on your own Mac in under a minute. $9.99 once, 2 Macs.

[Download](/download/TidyMac.dmg)
