---
title: "Requirements"
description: "The toolchains your machine needs to run your app on iOS and Android, and how laravel-mobile doctor checks and fixes them."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.lairport.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Requirements

## Introduction

Lairport is built on Tauri v2, so your machine needs the same toolchains Tauri does. Thankfully, you don't need to check them by hand. The `doctor` command checks every one of them for you:

```sh
laravel-mobile doctor
```

When a check fails, `doctor` shows you the command that fixes it, and the `--fix` option runs those commands for you. If Rust is installed but `doctor` can't find it, the usual cause is that `~/.cargo/bin` isn't on your `PATH`. The fix is to load Rust's environment in your shell, which `doctor` shows as `. "$HOME/.cargo/env"`.

If you only care about one platform, you may limit the checks using the `--platform` option:

```sh
laravel-mobile doctor --platform ios
```

If you would like to use the results in a script or in CI, the `--json` option prints them as JSON.

> **Early release**
>
> Lairport is at v0.1. The `laravel-mobile` CLI is published on crates.io, and the `@laravel-rust-mobile/core` adapter is published on npm. Each feature is in beta or alpha: beta features are ready to try on your own apps, and alpha features are experimental. The [status](https://docs.lairport.app/status/) page lists the stage of each feature.

## Every Platform

No matter which platform you build for, you'll need:

- Rust (stable) with `cargo`.
- Node 22.18 or newer, for Vite.
- A Laravel Rust (`laravel-rust` v0.1.x) application using Inertia with React or Vue.

### The Tauri CLI

You don't need to install the Tauri CLI or the JavaScript adapter yourself. `laravel-mobile` compiles your app with Tauri, and the `init` command adds `@tauri-apps/cli` to your `package.json` file's dev dependencies and `@laravel-rust-mobile/core` to its dependencies, then installs both with your project's package manager. It ships prebuilt binaries, so there's nothing to compile, and everyone on your team and in CI gets the same version from your lockfile.

If you'd rather install dependencies yourself, you may provide the `--no-install` option to `init`, then run your usual install command afterwards.

## iOS

> **iOS is alpha**
>
> iOS support is alpha. Build and run it on your own Mac at your own risk.

To build and run your iOS app, you'll need:

- A Mac with Xcode, the iOS simulator, and CocoaPods.
- The Rust targets `aarch64-apple-ios` and `aarch64-apple-ios-sim`.
- An Apple Developer team ID in `ios.team_id`, to run on a device or upload to the App Store.

By default, your app supports iOS 15.0 and newer, which is the oldest version current Xcode builds for. You may raise this using the `ios.minimum_version` option.

Don't have a Mac? You can still preview your pages on an iPhone's browser using `laravel-mobile dev`, but running the native app and building it for the App Store need a Mac for now. The [running your app](https://docs.lairport.app/running/#developing-without-a-mac) documentation explains exactly what works without one.

## Android

To build and run your Android app, you'll need:

- The Android SDK with the NDK installed. `doctor` finds the SDK from `ANDROID_HOME`, or from Android Studio's default location.
- An emulator, created in Android Studio's Device Manager, or a phone with USB debugging on. `doctor` counts your emulators.
- A JDK.
- The Rust target `aarch64-linux-android`, plus `armv7-linux-androideabi`, `i686-linux-android`, and `x86_64-linux-android` to cover every device and emulator.
- `adb` on your `PATH`, to launch your app on devices.

By default, your app supports Android 7.0 (API level 24) and newer. You may raise this using the `android.min_sdk` option.

Source: https://docs.lairport.app/requirements/index.mdx
