DEV Community

Cover image for How to Install React.js On Windows- Codexashish
Ashish
Ashish

Posted on • Originally published at codexashish.com

How to Install React.js On Windows- Codexashish

In this article, we are going to see How to Install ReactJS in Windows or How to Install React in Our System. So without wasting any time let's start our article:

React JS is one of the most popular JavaSript Libraries useful in building user interfaces and It is an open-source component based on the front-end. With the help of ReactJS, we can create an awesome application and dynamic application because ReactJS requires less coding and offer more functionality. Nowadays ReactJS becoming more popular among MNC companies because of its feature and functionality.

Features of React Js:

Reusable Components:
Debugging
JSX
One-way Data Binding
Virtual DOM
Simplicity
Performance

Installation of Reactjs on Windows:

Step.1 Download Node.js Installer

You can download the Node.js installer from google by searching "nodejs" on google. Click on the first official website "nodejs.org" and you will see the LTS version and the current version of Node.js. The LTS version is the best and it is a recommended version because it has been created not in process. So you can simply click on the LTS version to download Node.js. Or you can CLICK HERE to go on the download page. When you click on the LTS version to download, it will automatically start downloading.

Step.2 Install Node.js Installer

Once the Node.js download is completed, Now find the downloaded installer file and double click on that to install it on your system.

Accept the Terms and Conditions, and click on the ok button. After installing Node.js on your system, it will show you a congratulation message.

Now We have successfully installed Node.js Installer in our system.

Step.3 Open CMD & Check Node.js Version

After installing Node.js on your system, you will have to first confirm whether Node.js has been installed or not. So type the below command in Command Prompt(CMD) and hit the enter

button:
node -v

Now you can see that we have successfully installed node version "v16.14.2" on my system. The version of NodeJS might be different in your system because when I am writing In this article, the Node "v16.14.2" LTS version is available. NPM is automatically installed on your system after installing NodeJS on your system.

Step.4 Install ReactJS Globally

Once Node has been installed on your system, Just copy the below code and paste it into CMD and hit the enter button. This command will install ReactJS on your system.

npm install -g create-react-app
Remember one thing: You can run this command in any folder or drive. It is the environment of ReactJS. So we have successfully installed ReactJS in our system.

Click Here to read more

Thankyou
Codexashish

Top comments (0)