Yarn: A new package manager for JavaScript
Note: This post is over 9 years old. The information may be outdated.
Facebook has launched Yarn, an open source JavaScript package manager that promises faster and more reliable installs than the massively popular npm. The company says its new creation is capable of reducing install times from several minutes to just seconds in some cases – depending on the size of the packages you’re working with, of course.
The easiest way to get started is to run:
npm install -g yarn
yarn
yarn add <package> # npm i --save <package>