Installation
Create a project and run it on your first device.
Set up the tools
The published alpha ships Hermes compiler binaries for Apple Silicon macOS. Install Bun on that Mac, then set up the platform you want to run.
| Target | Build tools | Device |
|---|---|---|
| iOS | Xcode 27 with an iOS Simulator runtime | iOS 16 or newer |
| Android | JDK 17, Android SDK 36, NDK 29.0.14206865, CMake 3.22.1, Ninja, Python 3 | Emulator or device running API 26 or newer |
For Android, set ANDROID_HOME to your SDK directory and add its platform-tools directory to PATH so the CLI can find adb.
Create the project
Run this from the directory where you keep your apps. The starter creates FieldNotes, installs its dependencies, and prepares both native projects.
bunx create-react-nitro@latest FieldNotes
cd FieldNotesRun on iOS
Open Simulator and boot a device. List the running simulators, then pass the UDID from the matching row to the CLI.
xcrun simctl list devices booted
bun run ios --device <simulator-UDID>You can also open ios/ReactNitro.xcodeproj in Xcode, select the simulator, and press Run.
Run on Android
Start an emulator in Android Studio or connect a device with USB debugging enabled. Use its serial from the first column of adb devices.
adb devices
bun run android --device <adb-serial>To build in Android Studio, open the generated android/ directory. Both platforms load src/index.tsx and show the greeting from src/App.tsx. Replace that component in Your first screen.
Fast Refresh
Run bun run start from the app directory. Press i or a to build and open the app on iOS or Android. Keep the server running and save src/App.tsx to see your edit. Shift+I and Shift+A reopen the last build.