yarn how to install packages code example
Example 1: yarn install
npm install -g yarn
Example 2: yarn add install all packages in package,json
yarn install
Example 3: install dev dependency yarn
yarn add nameOfPackage --dev
npm install -g yarn
yarn install
yarn add nameOfPackage --dev