Yarn Berry Cache Configuration for Zero-Installs and Registry Consistency
Zero-Installs Cache Management Yarn Berry (v2+) introduces a project-local cache stored as zip archives in .yarn/cache . This architecture supports Zero-Installs, allowing the cache to be committed to version control so that every environment uses identical artifacts without requiring a network fetch during yarn install . When utilizing Zero-Installs, the pr