How to Install ReactJS on Windows?|2023

React JS : is an open-source JavaScript library built around components, used to create fast, interactive user interfaces for web and mobile applications. It simplifies dynamic app development and has a large ecosystem. It is used by startups and large organizations alike.
ReactJS Features
1.Component-Based Structure: Enables modular and reusable components for building UI elements.
2.Rich Ecosystem: Offers a large library of tools and extensions.
3.Developer Tools: Provides debugging and inspection tools for smoother development.
How to Install React.JS on Windows
Step 1: Download the Node.js installer free from the official website. The long-term support (LTS) version is recommended, even though the current version has the latest features.

Step 2: After the installation, open the command prompt by typing cmd in the Windows search bar. At the prompt, type the following command:
node -v

If the installation went well, it will show the version you have installed.
Step 3: Next, run the following command in the terminal to install the Create React App module, which sets up a new React project with a single command.
npm install -g create-react-app

This installs Create React App globally. To check that everything went well, run this command:
create-react-app --version

If everything went well, it will show the installed version.
Step 4: Create a new folder for your first React app. You can do this from the command prompt by running the following command.
mkdir myfirstreactapp
Step 5: Move into that folder by running the cd command followed by the folder name.
cd myfirstreactapp
Here is the output.

Step 6: Inside the new folder, run the following command. It installs the required dependencies and creates a new folder for your React app.
create-react-app yourfirstapp

If it is successful, you will see output similar to the screenshot below.

Step 7: To start your app, run the command below:
npm start

If everything goes well, a new browser tab with the React logo will open.

You are now ready to start coding in your new React development environment.