Skip to content

Instantly share code, notes, and snippets.

@antoinefortin
Created March 15, 2018 13:44
Show Gist options
  • Save antoinefortin/ab22bfffcde8197b2b5f3e58805b2628 to your computer and use it in GitHub Desktop.
Save antoinefortin/ab22bfffcde8197b2b5f3e58805b2628 to your computer and use it in GitHub Desktop.
[Install Yarn package Globally] Snippet Install Yarn package Globally
https://yarnpkg.com/lang/en/docs/cli/global/
$ yarn global add create-react-app --prefix /usr/local
# the `create-react-app` command is now available globally:
$ which create-react-app
$ /usr/local/bin/create-react-app
$ create-react-app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment