Yarn

Yarn is a fast, reliable, and secure dependency manager.

Installation

To install yarn, you can use:

npm install --global yarn

Usage

To check yarn version:

yarn -v

To install all dependencies:

yarn

To add a package:

yarn add [<package>]
yarn add [<package>]@[<version>]
yarn add [<package>]@[<tag>]

To remove a package:

yarn remove [<package>]

To upgrade a package:

yarn upgrade [<package>]
yarn upgrade [<package>]@[<version>]
yarn upgrade [<package>]@[<tag>]

results matching ""

    No results matching ""