Skip to content

Commit ed5fb10

Browse files
carpbeniansu
authored andcommitted
Update updating-to-new-releases.md with note about global installs (#6190)
* Update updating-to-new-releases.md Related to #6140 * Update updating-to-new-releases.md Linking to getting started following discussion on #6190. Adapt terminology to current installation methods. * Update updating-to-new-releases.md typo, rleative link * Update docusaurus/docs/updating-to-new-releases.md Co-Authored-By: carpben <[email protected]>
1 parent 803946f commit ed5fb10

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docusaurus/docs/updating-to-new-releases.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ Create React App is divided into two packages:
88
- `create-react-app` is a global command-line utility that you use to create new projects.
99
- `react-scripts` is a development dependency in the generated projects (including this one).
1010

11-
You almost never need to update `create-react-app` itself: it delegates all the setup to `react-scripts`.
11+
When you run `npx create-react-app my-app` it automatically installs the latest version of Create React App.
12+
> If you've previously installed `create-react-app` globally via `npm install -g create-react-app`, please visit [Getting Started](getting-started.md) to learn about current installation steps.
1213
13-
When you run `create-react-app`, it always creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically.
14+
Create React App creates the project with the latest version of `react-scripts` so you’ll get all the new features and improvements in newly created apps automatically.
1415

1516
To update an existing project to a new version of `react-scripts`, [open the changelog](https://github.com/facebook/create-react-app/blob/master/CHANGELOG.md), find the version you’re currently on (check `package.json` in this folder if you’re not sure), and apply the migration instructions for the newer versions.
1617

0 commit comments

Comments
 (0)