To build production React applications, you need Node.js installed on your computer. Node.js comes bundled with npm (Node Package Manager).
Creating a React Project with Vite (Recommended)
Vite is the modern, ultra-fast frontend build tool recommended by the React core team:
# 1. Scaffold new React application
npm create vite@latest my-react-app -- --template react
# 2. Enter project directory
cd my-react-app
# 3. Install dependencies
npm install
# 4. Start local development server
npm run dev