how to install a global package using yarn code example
Example 1: how to upgrade package yarn global
yarn global add <package>@latest
Example 2: how to add packages globally in yarn
yarn global <add/bin/list/remove/upgrade> [--prefix]
yarn global add <package>@latest
yarn global <add/bin/list/remove/upgrade> [--prefix]