npm install global yarn code example
Example 1: npm install --global yarn
npm install --global yarn
Example 2: yarn add global
yarn global <add/bin/list/remove/upgrade> [--prefix]
npm install --global yarn
yarn global <add/bin/list/remove/upgrade> [--prefix]