yarn add global code example
Example 1: yarn add global
yarn global <add/bin/list/remove/upgrade> [--prefix]
Example 2: how to upgrade package yarn global
yarn global add <package>@latest
Example 3: yarn add --save-exact
yarn add <package...> [--exact/-E]