Introduction to React Js + Installation | Complete React Course in Hindi #1

Install React.js on Windows 10/11

React is a powerful JavaScript library for building dynamic user interfaces. Follow these steps to set up React on your Windows machine.

Prerequisites

  • Administrator Access
  • Stable Internet Connection

Step 1: Install Node.js

Download the LTS version from the official Node.js website and install it.

Step 2: Verify Installation

node -v  # Check Node.js version
npm -v   # Check npm version

Step 3: Create a React App

For better performance, use Vite instead of Create React App:

npm create vite@latest myapp -- --template react

Step 4: Open the Project

Navigate into your project directory:

cd myapp

Open in VS Code:

code .

Step 5: Start the Development Server

npm install  # Install dependencies
npm run dev  # Start the server

Once started, a new browser tab will open displaying the React starter page.

You're Ready!

Congratulations! You’ve successfully set up React and can now build amazing projects.