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:
| Kit | Tools |
|---|---|
| Android | JDK 17, Android SDK |
| React Native | Node.js, plus the Android SDK for Android and Xcode for iPhone |
| iOS | Xcode (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:

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
Use PowerShell as a regular user, not as Administrator. Close and reopen PowerShell after any change to environment variables.
Windows builds Android apps only. The iOS kit, and iPhone builds in the React Native kit, need a Mac. A React Native app can still be built for iPhone in the cloud.
1. Scoop and Git
Scoop installs the other tools with one command each.
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
scoop install git
If the first line asks to confirm, type Y.
Check: scoop --version and git --version. If a command isn't found, reopen PowerShell.
2. Node.js and GitHub CLI
scoop install nodejs
winget install --id GitHub.cli
gh auth login
At the login prompts pick GitHub.com โ HTTPS โ Login with a web browser.
Check: node --version and gh auth status
3. JDK 17
scoop bucket add java
scoop install openjdk17
Check: java -version shows 17.
4. Android SDK
Install Android Studio and open it once. Open SDK Manager from the โฎ menu next to Clone Repository:

Tick Android 15 (API 35), and Android SDK Command-line Tools (latest) under the SDK Tools tab. Click Apply.
Then open System Properties โ Environment Variables. Add a user variable
ANDROID_HOME with the value %LOCALAPPDATA%\Android\Sdk, and add these to your Path:
%ANDROID_HOME%\platform-tools
%ANDROID_HOME%\cmdline-tools\latest\bin
%ANDROID_HOME%\emulator
Check (in a new PowerShell): adb --version
5. Speed up builds (recommended)
Windows Defender scans every file a build writes, which can make builds two or three times slower. Microsoft recommends excluding the build folders. This turns off live scanning in those three folders only.
Open PowerShell as Administrator and run, with your own project path in the last line:
Add-MpPreference -ExclusionPath "$env:USERPROFILE\.gradle"
Add-MpPreference -ExclusionPath "$env:LOCALAPPDATA\Android\Sdk"
Add-MpPreference -ExclusionPath "C:\path\to\your\project"
To undo, run the same lines with Remove-MpPreference.
Optional: scrcpy
scrcpy shows your Android phone's screen in a window on your computer, so you can test without picking it up.
scoop install scrcpy
Commands use apt (Debian, Ubuntu, Mint, Pop!_OS) and ~/.bashrc. On Fedora use dnf, on
Arch pacman. If your shell is zsh, use ~/.zshrc.
Linux builds Android apps only. The iOS kit, and iPhone builds in the React Native kit, need a Mac. A React Native app can still be built for iPhone in the cloud.
1. Basics and GitHub CLI
sudo apt update
sudo apt install -y curl unzip zip git gh
gh auth login
At the login prompts pick GitHub.com โ HTTPS โ Login with a web browser. If gh isn't
found, see cli.github.com for your distribution.
Check: gh auth status
2. Node.js
The apt version is often too old. Install it with nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
source ~/.bashrc
nvm install --lts
Check: node --version (18 or newer)
3. JDK 17
sudo apt install -y openjdk-17-jdk
echo 'export JAVA_HOME="/usr/lib/jvm/java-17-openjdk-amd64"' >> ~/.bashrc
echo 'export PATH="$JAVA_HOME/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
Check: java -version shows 17. If that folder doesn't exist, find the right one with
sudo update-alternatives --config java.
4. Android SDK
Download Android Studio, then:
tar -xzf android-studio-*.tar.gz -C ~/
~/android-studio/bin/studio.sh
Open SDK Manager from the โฎ menu next to Clone Repository. Tick Android 15 (API 35), and Android SDK Command-line Tools (latest) under the SDK Tools tab. Click Apply. Then:
echo 'export ANDROID_HOME="$HOME/Android/Sdk"' >> ~/.bashrc
echo 'export PATH="$ANDROID_HOME/platform-tools:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/emulator:$PATH"' >> ~/.bashrc
source ~/.bashrc
Check: adb --version
For the emulator, install KVM: sudo apt install -y qemu-kvm && sudo adduser $USER kvm, then
log out and back in. Or use a real phone over USB.
Optional: scrcpy
scrcpy shows your Android phone's screen in a window on your computer, so you can test without picking it up.
sudo apt install -y scrcpy
Install an AI agent
Pick one. All five run the /kit-* commands.
| Agent | Install |
|---|---|
| Claude Code | npm install -g @anthropic-ai/claude-code, then run claude to log in |
| Codex | npm install -g @openai/codex, then run codex |
| OpenCode | npm install -g opencode-ai, then run opencode |
| Cursor | Download from cursor.com |
| Google Antigravity | Download 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
| Problem | Fix |
|---|---|
| A command isn't found after installing | Close and reopen the terminal |
java -version shows the wrong version | Check JAVA_HOME points at JDK 17 |
adb or android not found | The SDK folder or the CLI isn't on your Path |
| The first build takes 10โ30 minutes | Normal: it downloads about 1 GB once. Every build after takes seconds. |
| The build hangs with no output | An 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.