Yarn

A JavaScript package manager known for workspaces, Plug'n'Play installs and deterministic lockfiles.

Yarn was created at Facebook to make npm installs faster and reproducible. Modern Yarn (Berry) adds Plug'n'Play resolution without node_modules, zero-installs and a plugin architecture. It remains common in large monorepos.

Type
Developer tool
Category
Backend
Maintainer
Yarn core team (Maël Nison)
First released
2016
License
Open source (BSD-2-Clause)
Pricing
Open source
Level
Beginner
Technologies
nodejs, javascript
GitHub stars
8,150
Weekly downloads
14,306,101 (npm)
Latest release
[object Object]
Last verified
26 Nov 2026

What Yarn is used for

  • Monorepos with workspaces
  • Reproducible installs

Strengths

  • Mature workspaces
  • PnP for strictness and speed
  • Plugin system

Limitations

  • PnP compatibility issues with some tools
  • Split between Yarn 1 and Berry

Yarn alternatives

  • npm Developer tool
  • pnpm Developer tool

Built with the same technologies

Official links

Sources

Explore