Suggest an editImprove this articleRefine the answer for “What is the store in pnpm?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)**The store in pnpm** is the centralized storage (cache) where pnpm keeps *the single copies of every downloaded package*. This store lives outside `node_modules` and is used by every project on the machine. **Key point:** if a package is already in the store, pnpm does not download it again, it creates hard links to it in `node_modules`.Shown above the full answer for quick recall.Answer (EN)Image**The store in pnpm** is the centralized storage (cache) where pnpm keeps *the single copies of every downloaded package*. This store lives outside `node_modules` and is used by every project on the machine. --- ### **What the store does** 1. **Stores downloaded dependency versions** - one version of a package lives in the store **only once**, even if it is used in a hundred projects. 2. **Is used as the source for** `node_modules` - during install, pnpm does not copy packages into the project, it creates **hard links** to the files in the store. 3. **Speeds up repeat installs** - if a package is already in the store, pnpm does not download it again. --- ### **Where it is stored** Usually in a directory like: ```javascript ~/.pnpm-store ``` The exact location can be found with: ```bash pnpm store path ``` --- ### **Why this matters** | Capability | What it gives | |---|---| | A single store | disk space savings | | Hard links | faster installation | | No duplicates | clean, lightweight `node_modules` | --- ### **Summary** **The store in pnpm is a global package cache from which pnpm distributes dependencies to every project, using hard links instead of copying.** This is the foundation of pnpm's performance and space savings.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.