Yarn

Archived

This page has been archived and will receive no further updates.

Install Yarn

https://yarnpkg.com/en/docs/install

Install a package as a dependency

yarn add packagename

Install a package as a dev dependency

yarn add --dev packagename

Upgrade a package

yarn add packagename

Scan for vulnerabilities

yarn audit

Fix vulnerabilities

yarn upgrade