React Installation

Start by installing Node.js from the following link:
https://nodejs.org/en/
Then install visual studio code :
https://code.visualstudio.com/
Node.js also install npm along with it so don’t worry about npm installation.
in command prompt (CMD) type:
node -version
and
npm -v

If you get the version displayed We are all ready to start learning react.
open a desired folder to store react web app.
Then, hold pressing Shipt then press right click
Choose open PowerShell or open command prompt
Type :,
npm install create-react-app
Wait for a while it will get install all the dependencies and packages
After installation type :
npx create-react-app app_name
Note: It is npx not npm (npx create-react-app app_name)
Replace app_name with your desired web app name.
now type:
cd app_name
code . THis will open the folder in visual studio code.

Leave a comment

Design a site like this with WordPress.com
Get started