From a50a0765f8787e288433e65d43ecd8c6f15e415e Mon Sep 17 00:00:00 2001 From: Sunil Pai Date: Wed, 28 Nov 2018 19:48:35 +0000 Subject: [PATCH] s/npm -g/npx (#1429) - less invasive - matches the steps that the link already points to (https://reactjs.org/docs/create-a-new-react-app.html#create-react-app) --- content/tutorial/tutorial.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/content/tutorial/tutorial.md b/content/tutorial/tutorial.md index 0b72419d9..c9c325b9f 100644 --- a/content/tutorial/tutorial.md +++ b/content/tutorial/tutorial.md @@ -77,8 +77,7 @@ This setup requires more work but allows you to complete the tutorial using an e 2. Follow the [installation instructions for Create React App](/docs/create-a-new-react-app.html#create-react-app) to make a new project. ```bash -npm install -g create-react-app -create-react-app my-app +npx create-react-app my-app ``` 3. Delete all files in the `src/` folder of the new project