Install packages globally on your operating system.
yarn global is a prefix used for a number of commands like
remove. They behave identically to their normal versions except that they use a global directory to store packages. The
global command makes binaries available to use on your operating system.
This is useful for developer tooling that is not part of any individual project but instead is used for local commands. One such example is create-react-app which can be installed globally like this:
$ yarn global add create-react-app # the `create-react-app` command is now available globally: $ create-react-app
Read more about the commands that can be used together with