install yarn from npm code example
Example 1: install yarn
npm install -g yarn
Example 2: install yarn
brew install yarn
Example 3: yarn latest version
choco install yarn
npm install -g yarn
brew install yarn
choco install yarn