You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,7 @@ npx create-react-app my-app
16
16
cd my-app
17
17
npm start
18
18
```
19
+
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.
19
20
20
21
_([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))_
21
22
@@ -61,7 +62,7 @@ _`npm init <initializer>` is available in npm 6+_
61
62
yarn create react-app my-app
62
63
```
63
64
64
-
_`yarn create` is available in Yarn 0.25+_
65
+
_[`yarn create <starter-kit-package>`](https://yarnpkg.com/lang/en/docs/cli/create/) is available in Yarn 0.25+_
65
66
66
67
It will create a directory called `my-app` inside the current folder.<br>
67
68
Inside that directory, it will generate the initial project structure and install the transitive dependencies:
0 commit comments