Yarn Classic is still perfectly fine, but it’s in maintenance mode. is technically superior but requires buy-in from the whole team. If you’re starting a new monorepo today, pick Yarn Modern. If you just need a quick script and don’t care about disk or CI speed, stick with npm.
| Action | Yarn Classic | Yarn Berry (PnP) | npm v10 | |-----------------------|--------------|------------------|---------| | Fresh install (cold) | 38s | 12s | 41s | | Subsequent install | 2.1s | 0.8s | 2.7s | | node_modules size | 410 MB | 0 (virtual) | 395 MB | | CI artifact time | 45s | 15s | 52s | Yarn Classic is still perfectly fine, but it’s