Skip to content

Environment Setup

1. Install Node.js and NPM

2. Set Up a New React Project

  • A. Using create-react-app
Terminal window
npx create-react-app my-app
cd my-app
npm start
  • B.Using Vite (Faster and lightweight alternative)
Terminal window
npm create vite@latest my-app --template react
cd my-app
npm install
npm run dev

3. Install a Code Editor

4. Install React Developer Tools for your browser(Optional)

For more details and updates, follow the official React installation guide:

Installation