Yarn

An independent open-source JavaScript package manager built around workspaces, with plugins and reproducible installs.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

2 more ways to get Yarn

Package managers

About Yarn

Yarn is a JavaScript package manager that also acts as a project manager. It was built around workspaces, so a repository can be split into several packages managed together, and it aims for installs that keep working the same way over time.

Current versions (Yarn 4 and later) support plugins for extending its behaviour and offer Plug'n'Play installs as an alternative to node_modules. The project is independent and run by its contributor community rather than a company.

Strengths

  • Workspaces for monorepos
  • Stable, reproducible installs
  • Plugin system
  • Plug'n'Play mode without node_modules

Limitations

  • Plug'n'Play can conflict with tools that expect node_modules
  • Documentation split between modern Yarn and Yarn Classic

Details

Pricing
FreeFree and open source.
License
BSD-2-Clause
Developer
The Yarn contributors
Platforms
Windows, macOS, Linux, Command line
How it runs
Downloadable app
Account
Not required
Best suited for
JavaScript teams managing monorepos who want reproducible installs
Categories
Developer tools
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 1 sources on file.

Alternatives to Yarn

Compare all

Software that can replace Yarn for an important use case, and what changes if you switch.

  • pnpm

    A Node.js package manager that saves disk space by hard-linking packages from a shared store.

    pnpm is an MIT-licensed package manager that keeps one copy of each package version on disk with strong workspace support, though its strict layout can break some tools.

  • Bun

    A JavaScript runtime, bundler, test runner and package manager in one executable, built as a faster drop-in for Node.js.

    Bun combines a package manager with a runtime, bundler and test runner in one MIT-licensed executable, with fast installs but incomplete Node compatibility.

  • Deno

    A JavaScript and TypeScript runtime with security on by default, TypeScript built in, and a complete toolchain in one binary.

    Deno is a runtime with npm compatibility and a built-in toolchain, so it replaces Yarn's installs only as part of switching away from Node.

Similar software

Related functionality, not necessarily a direct replacement.

Report a wrong fact or a dead link on this listing