yarn globl code example
Example: yarn globakl
yarn global is a prefix used for a number of commands like add, bin, list and remove
# adds a package globally
yarn global add
# removes a global package
yarn global remove
# lists all global packages
yarn global list