# Setup

## Step 1: Install Node.js

Download the latest **LTS version** of Node.js from the [official website](https://nodejs.org/).

Once installed, open your terminal (macOS/Linux) or Command Prompt (Windows), and verify the installation with the following commands:

```bash
$ node --version
v22.14.0

$ npm --version
v11.3.0
```

> Your versions might differ slightly — that’s perfectly fine!

## Step 2: Create a New React App

Navigate to the folder where you’d like to create your project:

```bash
$ cd path/to/your/folder
```

Run the following command to create a new React project with TypeScript:

```bash
$ npx create-react-app my-app --template typescript <your-project-name>
```

This will take a few minutes to install dependencies. Once complete, navigate into your project folder:

```bash
$ cd <your-project-name>
```

To start the development server, run:

```bash
$ npm run start
```

Your React app should now be running on <http://localhost:3000>.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.nushackers.org/orbital/react/setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
