Add note for global install of CLI (#6157)

* Add note for global install of CLI

Closes #6140.
This commit is contained in:
Ian Schmitz
2019-01-09 13:16:09 -08:00
committed by GitHub
parent 6e261f8a06
commit 2741781bc6

View File

@@ -14,6 +14,8 @@ cd my-app
npm start
```
> If you've previously installed `create-react-app` globally via `npm install -g create-react-app`, we recommend you uninstall the package using `npm uninstall -g create-react-app` to ensure that `npx` always uses the latest version.
_([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))_
Then open [http://localhost:3000/](http://localhost:3000/) to see your app.