
About Yarn
Yarn is an open source JavaScript package manager that also manages projects. It focuses on workspaces, stable installs and an extensible plugin system.
What it does
Yarn installs and manages dependencies for JavaScript projects, from single packages to large monorepos. Its workspaces feature lets you split a project into sub-components that share one lockfile and one install step. The Yarn 4 line includes a plugin system that lets teams extend the tool with their own commands and behaviour.
Key features
- Workspaces for splitting a project into packages
- Stable, repeatable installs
- Plugin system for custom behaviour
- Command line for scripts and tasks
- Documentation updated for each major version
Who it's for
Teams that run monorepos or large projects and want a package manager with a clear focus on workspaces. It also suits existing Yarn users who want to keep their workflow.
Pricing and good to know
Yarn is free and open source under the BSD 2-Clause license. The current docs cover Yarn 4 and later, and docs for version 3.6 and below are listed separately, so older projects may need a migration. Check the release notes before upgrading.
Highlights
- Workspaces for splitting a project into packages
- Repeatable installs across machines
- Plugin system for custom commands
- Command line for scripts and project tasks
- Docs updated for each major version












