[Yarn] A JavaScript Package Manager

Yarn is a new JavaScript package manager that aims to be speedy, deterministic, and secure. See how easy it is to drop yarn in where you were using npm before, and get faster, more reliable installs.

// install
npm i -g yarn

// with package.json
// type "yarn" will install all the package in a shroter than than npm
yarn
原文地址:https://www.cnblogs.com/Answer1215/p/5955019.html