Install React JS Using Vite (2026)

Beginner-friendly guide to install and verify React JS on Windows

Important Requirement

Node.js is mandatory to install React JS.
React uses Node.js and npm to create projects, install dependencies, and run the development server. Without Node.js, React JS will not work.

👉 Install Node.js first from this guide: Node.js Installation Tutorial

What you will learn

Learn why Node.js is mandatory for React, check Node.js and npm, create a React project using Vite, open it in VS Code, run npm run dev, and verify React installation.

Video Tutorial

Step 0: Check Node.js & npm (Required)

node -v

npm -v

Step 1: Create React Project

cd Desktop

npm create vite@latest react-app

Step 2: Select Options

  • Framework: React
  • Variant: JavaScript + React Compiler
  • Confirm installation (Yes)

Step 3: Open Project in VS Code

View important files like src, App.jsx, and main.jsx

Step 4: Run Development Server

npm run dev

Open the localhost URL shown in the terminal.

Step 5: Verify Installation

If the React welcome page appears → React JS installed successfully 🎉