From 35b4dd7c132dc1c636f537d8f14d0a4bb29ec9e9 Mon Sep 17 00:00:00 2001 From: Arun Kumar G Date: Fri, 14 Sep 2018 11:55:21 +0530 Subject: [PATCH] chore(readme): add improved install information (#1220) * Update README.md Update installation steps with package runner tool, which can avoid installing create-react-app globally, that comes with npm 5.2+ --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c3e1e8384..44709f98d 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,20 @@ Follow the [create-react-app instructions](https://github.com/facebook/create-re ### tl;dr + ``` +npx create-react-app my-app +cd my-app/ +npm start +``` +or, if npx (Node >= 6 and npm >= 5.2 ) not available + ``` npm install -g create-react-app create-react-app my-app cd my-app/ npm start -``` +``` Then open [http://localhost:3000/](http://localhost:3000/) to see your app. The initial structure of your app is setup. Next, let's [add reactstrap and bootstrap](#adding-bootstrap).