1npx create-react-app <appname> // eg: npx create-react-app blog
2cd <appname> // cd blog
3npm start //runs on localhost:3000
1npx create-react-app my-app
2cd my-app
3npm start
4//Note:npx on the first line is not a typo —
5//it’s a package runner tool that comes with npm 5.2+.
1yarn add create-react-app OR npm install create-react-app
2npx create-react-app my-app
3cd my-app
4npm start