Installation
Get JetStart up and running in minutes. This guide will walk you through installing JetStart and all required dependencies.
Quick Install
Install JetStart globally using npm:
npm install -g @jetstart/cli
Or use it directly with npx (no installation required):
npx jetstart create my-app
We recommend installing globally for the best experience. This allows you to use the jetstart command from anywhere.
Verify Installation
Verify that JetStart is installed correctly:
jetstart --version
You should see the version number printed to the console.
Check Dependencies
JetStart requires several dependencies to work properly. Check what's installed and what's missing:
jetstart install-audit
This command will check for:
- Node.js (18.0.0+)
- npm (9.0.0+)
- Java/JDK (17.0.0+)
- Gradle (8.0.0+)
- Android SDK
- Android SDK Components
- Kotlin compiler (
kotlinc) — required for the hot reload DEX pipeline
Sample Output
$ jetstart install-audit
JetStart Installation Audit
Development Tools:
------------------------------------------
✓ Node.js 24.11.1 OK
✓ npm 11.6.2 OK
✓ Java/JDK 17.0.17 OK
⚠ Gradle 8.2.1 Version 8.2.1 is outdated (8.5.0 recommended)
Android SDK:
------------------------------------------
✓ Android SDK Unknown OK
✓ cmdline-tools 19.0 OK
✓ build-tools 34.0.0 OK
✓ platform-tools 1.0.41 OK
✓ emulator 36.3.10 OK
Android Platforms:
------------------------------------------
✓ API 34 (Target) Unknown OK
✗ API 24 (Minimum) Not installed Install with: sdkmanager "platforms;android-24"
Environment Variables:
------------------------------------------
⚠ JAVA_HOME Not installed JAVA_HOME environment variable not set
✓ ANDROID_HOME Unknown OK
Summary:
------------------------------------------
✓ 10 components OK
⚠ 2 warnings
✗ 1 error
⚠ Recommendation:
Run "jetstart create <project-name> --full-install" to install missing dependencies
Install Missing Dependencies
Installing Java (JDK 17)
JetStart can help you install Java automatically:
jetstart create my-app --full-install
The --full-install flag will:
- Detect missing dependencies
- Offer to install them automatically
- Set up environment variables
Manual Installation
If you prefer to install Java manually:
Windows:
- Download Eclipse Temurin JDK 17
- Run the installer
- Add
JAVA_HOMEto environment variables
macOS:
brew install openjdk@17
Linux:
# Ubuntu/Debian
sudo apt install openjdk-17-jdk
# Fedora/RHEL
sudo dnf install java-17-openjdk-devel
# Arch
sudo pacman -S jdk17-openjdk
Installing Android SDK
JetStart can install Android SDK automatically during project creation:
jetstart create my-app --full-install
Manual Installation
Windows:
- Download Android Command Line Tools
- Extract to
C:\Android\cmdline-tools\latest - Set
ANDROID_HOME=C:\Androidenvironment variable
macOS/Linux:
# Download command line tools
mkdir -p ~/Android/cmdline-tools
cd ~/Android/cmdline-tools
wget https://dl.google.com/android/repository/commandlinetools-[OS]-[VERSION]_latest.zip
unzip commandlinetools-*.zip
mv cmdline-tools latest
# Add to .bashrc or .zshrc
export ANDROID_HOME=~/Android
export PATH=$PATH:$ANDROID_HOME/cmdline-tools/latest/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
Installing Kotlin (Required for Hot Reload)
JetStart's hot reload pipeline compiles your changed .kt files using kotlinc. You must have Kotlin installed and KOTLIN_HOME set for hot reload to work.
macOS (Homebrew):
brew install kotlin
# KOTLIN_HOME is set automatically
Linux (SDKMAN):
sdk install kotlin
export KOTLIN_HOME=$HOME/.sdkman/candidates/kotlin/current
Windows:
- Download the Kotlin compiler (the
kotlin-compiler-*.zipasset) - Extract to e.g.
C:\kotlinc - Set environment variable:
KOTLIN_HOME=C:\kotlinc - Add
%KOTLIN_HOME%\binto yourPath
Via Android Studio (if already installed):
# The Kotlin compiler is bundled inside Android Studio
# Set KOTLIN_HOME to the bundled kotlinc:
export KOTLIN_HOME="/Applications/Android Studio.app/Contents/plugins/Kotlin/kotlinc" # macOS
# Windows: %LOCALAPPDATA%\Android\Sdk\...\plugins\Kotlin\kotlinc
Verify:
kotlinc -version
# Should print: kotlinc-jvm 1.x.x (JRE ...)
If kotlinc is in your system PATH (e.g. installed via Homebrew), JetStart will find it automatically. KOTLIN_HOME is only needed if kotlinc is not on your PATH.
Install Mobile Client App
To connect your Android device to the JetStart development server, you'll need to install the JetStart Client app on your device.
Download Options
Option 1: Direct Download from Docs (Recommended)
Download the latest JetStart Client APK directly:
📥 Download JetStart Client APK
Quick Steps:
- Click the download button above on your Android device
- Once downloaded, tap the APK file to install
- Follow the installation steps below
Option 2: Download from GitHub Releases
The JetStart Client app is also available from GitHub Releases:
-
Visit GitHub Releases:
- Go to https://github.com/dev-phantom/jetstart/releases
- Find the latest release (e.g., v1.2.0)
- Download the APK file (e.g.,
jetstart-client-v1.2.0.apk)
-
Transfer to Device:
- Download directly on your Android device, or
- Transfer the APK file from your computer to your device
Installation Steps
-
Enable Unknown Sources (if needed):
- Settings → Security → Enable "Install unknown apps" or "Unknown sources"
- Or allow your browser/file manager to install apps
-
Disable Play Protect (required):
ImportantSince the JetStart Client app is not yet available on the Google Play Store, Android's Play Protect may block the installation. You'll need to temporarily disable Play Protect.
Quick Steps:
- Settings → Security → Google Play Protect
- Tap Settings (gear icon)
- Toggle off "Scan apps with Play Protect"
- Confirm the change
See Client App Documentation for detailed instructions.
-
Install the APK:
- Tap the downloaded APK file
- Tap "Install" when prompted
- Grant permissions (Camera, Install packages) when requested
-
Re-enable Play Protect (optional but recommended):
- After installation, you can re-enable Play Protect for security
Platform Support
Supported:
- ✅ Android 7.0+ (API 24+)
- ✅ Android APK format
Not Supported:
- ❌ iOS devices
- ❌ Android versions below 7.0
Troubleshooting Installation
Issue: "Install blocked" or "App not installed"
Solutions:
- Ensure Play Protect is disabled (see above)
- Enable "Install from unknown sources" in Settings
- Check device storage space
- Try downloading the APK again
Issue: "Play Protect warning"
Solution:
- The app is safe - it's open source and distributed via GitHub
- Follow the Play Protect disabling steps above
For more details, see the Client App Documentation.
Installation Modes
JetStart offers different installation modes based on your needs:
Interactive Mode (Default)
jetstart create my-app
- Prompts you for each missing dependency
- Lets you choose what to install
- Provides installation guidance
Full Automated Mode
jetstart create my-app --full-install
- Installs all missing dependencies automatically
- No prompts or user interaction
- Fastest way to get started
Skip Mode
jetstart create my-app --skip-install
- Skips all dependency checks
- Assumes you have everything installed
- Useful for experienced developers
Updating JetStart
Keep JetStart up to date to get the latest features and bug fixes:
npm update -g @jetstart/cli
Check what version you're running:
jetstart --version
Uninstalling
To remove JetStart from your system:
npm uninstall -g @jetstart/cli
System-Wide Configuration
JetStart looks for configuration in these locations (in order):
- Project-level:
jetstart.config.jsonin project root - User-level:
~/.jetstart/config.json - Environment variables:
JETSTART_*prefix
Example ~/.jetstart/config.json:
{
"defaultPort": 8765,
"logLevel": "info",
"autoOpenBrowser": true,
"enableQRCode": true
}
Troubleshooting Installation
npm Install Fails
Issue: Permission denied during global install
Solution:
# Option 1: Use sudo (Linux/macOS)
sudo npm install -g @jetstart/cli
# Option 2: Configure npm to use different directory
npm config set prefix ~/.npm-global
export PATH=~/.npm-global/bin:$PATH
Command Not Found
Issue: jetstart: command not found or The term 'jetstart' is not recognized
If you see "The command jetstart was not found, but does exist in the current location", it means you are in the project folder but the global command is not in your PATH. You can:
- Run the local script:
.\jetstart - Or fix your PATH to use the global command (recommended below)
Solution:
-
Find your npm global path:
npm config get prefix- Windows: Usually
%APPDATA%\npm(e.g.,C:\Users\<User>\AppData\Roaming\npm) - macOS/Linux: Often
/usr/localor~/.npm-global
- Windows: Usually
-
Add to PATH:
- Windows:
- Search for "Edit the system environment variables"
- Click "Environment Variables"
- Under "User variables", find
Pathand click "Edit" - Click "New" and add the path from step 1
- Click OK to save
- macOS/Linux:
- Add this to your shell config (
.zshrcor.bashrc):export PATH=$PATH:$(npm config get prefix)/bin
- Add this to your shell config (
- Windows:
-
Restart your terminal for changes to take effect.
Java Not Detected
Issue: Java is installed but JetStart doesn't detect it
Solution:
- Verify Java installation:
java -version - Check JAVA_HOME:
echo $JAVA_HOME - Set JAVA_HOME to JDK installation directory
Kotlin Compiler Not Found (hot reload fails)
Issue: kotlinc not found in jetstart dev output
Solution:
- Install Kotlin:
brew install kotlin(macOS) orsdk install kotlin(SDKMAN) - Set
KOTLIN_HOMEto your Kotlin installation directory - Verify:
kotlinc -version
See the Kotlin installation section above for platform-specific instructions.
Recommended Tools
JetStart Kotlin & Compose Snippets (Recommended)
Speed up your development with our custom VS Code extension. It provides package-aware snippets and automatic imports for Kotlin and Compose.
Kotlin Language Server for VS Code
If you are developing your Android client using VS Code, we highly recommend installing the Kotlin Language Server extension for syntax highlighting, code completion, and diagnostics.
Download Kotlin VS Code Extension
Next Steps
Now that JetStart is installed, you're ready to:
Happy coding! 🚀