Get a free consultation
AI Technology

How to Install ReactJS on Windows?|2023

By Sigmato Editorial TeamUpdated 14 Nov 20261 min read

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.

Node.js download page

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
Command prompt showing the Node.js version

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  
Installing create-react-app with npm

This installs Create React App globally. To check that everything went well, run this command:

create-react-app --version
Command prompt showing the 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.

Command prompt after creating the project folder

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
Creating a new React app

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

Successful create-react-app output

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

npm start  
Starting the React development server

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

React app running in the browser

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

Sigmato Editorial Team

Written by

Sigmato Editorial Team

The Sigmato Editorial Team is made up of software engineers, UI/UX designers and AI specialists at Sigmato Solutions Pvt Ltd in Bengaluru, India and the UK. We write practical guides on web, mobile, cloud and AI development, drawing on the products we design and build for startups and enterprises worldwide.

Last updated 14 November 2026 · Talk to our team