To get started with React, follow these steps:

  1. Install Node.js
    ⚠️ Ensure you have Node.js and npm installed. You can check with:

    node -v
    npm -v
    

    If not installed, visit node.js for download.

  2. Create a New Project
    Use create-react-app to scaffold your project:

    npx create-react-app my-app
    

    📦 This will set up a default React environment with webpack, Babel, and ESLint.

  3. Start Development Server
    Navigate to your project directory and run:

    cd my-app
    npm start
    

    🚀 Your app will launch at http://localhost:3000 by default.

  4. Explore the Structure
    📁 Key files include:

    • public/index.html: Main HTML template
    • src/App.js: Core component
    • package.json: Project dependencies

For deeper learning, check out our React Tutorial section.

react_logo
Need help with specific tools? Our [npm Install Guide](/npm_install_guide) provides detailed instructions.