Set up your computer

You do this once per computer. Pick your system below, install the tools in order, then do the shared steps at the bottom. Each step ends with a quick check.

What each kit needs:

KitTools
AndroidJDK 17, Android SDK
React NativeNode.js, plus the Android SDK for Android and Xcode for iPhone
iOSXcode (Mac only)

You don't write code in Android Studio or Xcode. They're only there to install the SDKs. Your AI agent does the work from the terminal.

Install the tools

Pick your computer.

1. Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Check: brew --version

2. Node.js and GitHub CLI

brew install node gh
gh auth login

At the login prompts pick GitHub.com โ†’ HTTPS โ†’ Login with a web browser.

Check: node --version (18 or newer) and gh auth status

3. Android tools (Android and React Native kits)

Install JDK 17:

brew install openjdk@17
echo 'export JAVA_HOME="/opt/homebrew/opt/openjdk@17"' >> ~/.zshrc
echo 'export PATH="$JAVA_HOME/bin:$PATH"' >> ~/.zshrc

Install Android Studio and open it once. Open SDK Manager from the โ‹ฎ menu next to Clone Repository:

Android Studio welcome screen: open SDK Manager from the โ‹ฎ menu

Tick Android 15 (API 35), and Android SDK Command-line Tools (latest) under the SDK Tools tab. Click Apply. Then tell your terminal where the SDK is:

echo 'export ANDROID_HOME="$HOME/Library/Android/sdk"' >> ~/.zshrc
echo 'export PATH="$ANDROID_HOME/platform-tools:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/emulator:$PATH"' >> ~/.zshrc
source ~/.zshrc

Check: java -version shows 17, and adb --version works.

4. Xcode (iOS and React Native kits)

Install Xcode 26 or newer from the Mac App Store, then:

sudo xcodebuild -license accept
sudo xcodebuild -runFirstLaunch
xcodebuild -downloadPlatform iOS

The last command downloads the iOS simulator, which takes a while. Then install the extra tool your kit needs:

brew install xcodegen     # iOS kit
brew install cocoapods    # React Native kit

Check: xcodebuild -version shows Xcode 26 or newer.

Optional: scrcpy

scrcpy shows your Android phone's screen in a window on your computer, so you can test without picking it up.

brew install scrcpy

Install an AI agent

Pick one. All five run the /kit-* commands.

AgentInstall
Claude Codenpm install -g @anthropic-ai/claude-code, then run claude to log in
Codexnpm install -g @openai/codex, then run codex
OpenCodenpm install -g opencode-ai, then run opencode
CursorDownload from cursor.com
Google AntigravityDownload from antigravity.google

Install the android CLI (Android and React Native kits)

The android CLI gives your agent Android know-how and runs the emulator. Download it from developer.android.com/tools/agents and put it on your Path. On Windows, this video shows how:

Then run:

android update
android skills add --all

Check: android --version

Check everything

After you create your first project, run /kit-env-check in your AI agent. It checks every tool and prints the exact fix for anything missing.

Common problems

ProblemFix
A command isn't found after installingClose and reopen the terminal
java -version shows the wrong versionCheck JAVA_HOME points at JDK 17
adb or android not foundThe SDK folder or the CLI isn't on your Path
The first build takes 10โ€“30 minutesNormal: it downloads about 1 GB once. Every build after takes seconds.
The build hangs with no outputAn earlier build was stopped halfway. Stop any java process, delete the *.lock files under ~/.gradle, and run it again.
The agent says the build "timed out"Run /kit-update. Current commands run builds in the background.

Next: Create your first project.