Developer guide · EN
Set up a React Native environment
Install Node.js, Watchman, JDK 17, Android Studio, Android SDK paths, and Xcode on macOS.
Node.js and Watchman
Install a current Node.js LTS release. Install Watchman on macOS with:
brew install watchmanJava Development Kit
Install JDK 17 with Homebrew:
brew install --cask zulu@17
brew info --cask zulu@17Android Studio and environment variables
Install the current stable Android Studio and the SDK packages required by your React Native or Expo version. Add the Android SDK to your shell configuration:
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/platform-toolsXcode
Install Xcode through the Mac App Store, open it once to complete component installation, and install the simulator/runtime required by your target. Confirm current requirements in the official framework documentation.