Need help with yarn?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

yarnpkg
40.0K Stars 2.7K Forks Other 2.3K Commits 1.9K Opened issues

Description

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry

Services available

!
?

Need anything else?

Contributors list

# 1,650
JavaScr...
babel-p...
yarn
Package...
340 commits
# 1,747
JavaScr...
Objecti...
React
React N...
236 commits
# 1,443
JavaScr...
yarn
Package...
npm
173 commits
# 262
JavaScr...
Babel
estree
ast
151 commits
# 2,479
JavaScr...
sentry
ecmascr...
yarn
141 commits
# 1,976
JavaScr...
fnproje...
React
ecmascr...
94 commits
# 11,121
JavaScr...
ecosyst...
yarn
Package...
39 commits
# 3,577
ecmascr...
ast
OCaml
React
37 commits
# 12,924
princip...
Groovy
npm
JavaScr...
32 commits
# 15,272
JavaScr...
yarn
Package...
npm
25 commits
# 7,691
mocking...
reasonm...
React
d3js
22 commits
# 619
Objecti...
React N...
faceboo...
TypeScr...
20 commits
# 23,497
reactjs
Groovy
npm
yarn
13 commits
# 2,318
Ruby
javascr...
emberjs
ecmascr...
12 commits
# 24,390
Markdow...
swift-p...
beats
yarn
12 commits
# 22,129
OCaml
reasonm...
npm
yarn
11 commits
# 8,765
lerna
Express
Koa
faceboo...
11 commits
# 22,857
Ruby
xmonad
remote-...
Groovy
11 commits
# 21,937
JavaScr...
perform...
chrome-...
Groovy
11 commits
# 1,005
React
JavaScr...
Babel
babel-p...
11 commits

Yarn

Fast, reliable, and secure dependency management.

Circle Status Appveyor Status Azure Pipelines status Discord Chat Commitizen friendly


Fast: Yarn caches every package it has downloaded, so it never needs to download the same package again. It also does almost everything concurrently to maximize resource utilization. This means even faster installs.

Reliable: Using a detailed but concise lockfile format and a deterministic algorithm for install operations, Yarn is able to guarantee that any installation that works on one system will work exactly the same on another system.

Secure: Yarn uses checksums to verify the integrity of every installed package before its code is executed.

Features

  • Offline Mode. If you've installed a package before, then you can install it again without an internet connection.
  • Deterministic. The same dependencies will be installed in the same exact way on any machine, regardless of installation order.
  • Network Performance. Yarn efficiently queues requests and avoids request waterfalls in order to maximize network utilization.
  • Network Resilience. A single request that fails will not cause the entire installation to fail. Requests are automatically retried upon failure.
  • Flat Mode. Yarn resolves mismatched versions of dependencies to a single version to avoid creating duplicates.
  • More emojis. 🐈

Installing Yarn

Read the Installation Guide on our website for detailed instructions on how to install Yarn.

Using Yarn

Read the Usage Guide on our website for detailed instructions on how to use Yarn.

Contributing to Yarn

Contributions are always welcome, no matter how large or small. Substantial feature requests should be proposed as an RFC. Before contributing, please read the code of conduct.

See Contributing.

Prior art

Yarn wouldn't exist if it wasn't for excellent prior art. Yarn has been inspired by the following projects:

Credits

Thanks to Sam Holmes for donating the npm package name!

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.