yarn installation

yarn

Yarn is a package management tool released by facebook. It functions like npm and is a package management tool; it can install, share, distribute code, and manage project dependencies.

advantage

Fast: Yarn caches every downloaded package, so there is no need to download it again when it is used again. Also utilizes parallel downloads to maximize resource utilization, so installs are faster.

Reliable: Using a well-formed but compact lockfile and a deterministic algorithm for installing dependencies ensures that an installation that works on one system will work the same way on other systems.

Security: verify the integrity of the installation package before it is executed

Official Website & Download

https://yarnpkg.com/

Download reference document

https://yarnpkg.com/getting-started/install

  • Node.js >=16.10
corepack enable
  • Node.js <16.10
npm i -g corepack
  • renew
yarn set version stable

Guess you like

Origin blog.csdn.net/Niiuu/article/details/123740495