command to install react cli
npm install -g react-cli react
command to install react cli
npm install -g react-cli react
create react app install
RUN IN CMD
npm install -g create-react-app
command to create react app
npx create-react-app my-app
cd my-app
npm start
latest react version npm
//Is used to update the version only such as 16.0.0 can be update to latest 16.13.0 but..
//but.. 15.0.0 can't be updated to 16.13.0 or to 16.0.0 with this
npm update react
//Use this to go from 15.0.0 to 16.13.0
npm install --save react@latest
install react js
npx create-react-app <appname> // eg: npx create-react-app blog
cd <appname> // cd blog
npm start //runs on localhost:3000
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us