Skip to content

Commit 2741781

Browse files
authored
Add note for global install of CLI (#6157)
* Add note for global install of CLI Closes #6140.
1 parent 6e261f8 commit 2741781

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docusaurus/docs/getting-started.md

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ cd my-app
1414
npm start
1515
```
1616

17+
> 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.
18+
1719
_([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))_
1820

1921
Then open [http://localhost:3000/](http://localhost:3000/) to see your app.

0 commit comments

Comments
 (0)