> For the complete documentation index, see [llms.txt](https://docs.rhecanyx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rhecanyx.com/docs/react-native-docs-for-mobile-apps/set-up-your-environment.md).

# Set Up Your Environment

{% stepper %}
{% step %}

### Node.js

Download and install lts version [click here](https://nodejs.org/en/download)
{% endstep %}

{% step %}

### Watchman

```shellscript
brew install watchman
```

{% endstep %}

{% step %}

### Java Development Kit

```shellscript
brew install --cask zulu@17

# Get path to where cask was installed to find the JDK installer
brew info --cask zulu@17

# ==> zulu@17: <version number>
# https://www.azul.com/downloads/
# Installed
# /opt/homebrew/Caskroom/zulu@17/<version number> (185.8MB) (note that the path is /usr/local/Caskroom on non-Apple Silicon Macs)
# Installed using the formulae.brew.sh API on 2024-06-06 at 10:00:00

# Navigate to the folder
open /opt/homebrew/Caskroom/zulu@17/<version number> # or /usr/local/Caskroom/zulu@17/<version number>
```

{% endstep %}

{% step %}

### Android Studio

Download and install lts version [click here](https://nodejs.org/en/download)
{% endstep %}

{% step %}

### **Configure the ANDROID\_HOME environment variable**

```shellscript
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-tools
```

{% endstep %}

{% step %}

### Xcode

Download and install lts version from App Store
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.rhecanyx.com/docs/react-native-docs-for-mobile-apps/set-up-your-environment.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
