Installation
MobileCLI is distributed as a single, self-contained binary with no external dependencies. It is available for Linux, macOS, and Windows.
Install via npm
Section titled “Install via npm”npm install -g mobilecliOr run directly without installing:
npx mobilecliDownload
Section titled “Download”Alternatively, download the latest binary from the releases page.
macOS (Apple Silicon)
Section titled “macOS (Apple Silicon)”curl -L https://github.com/mobile-next/mobilecli/releases/latest/download/mobilecli-darwin-arm64 -o /usr/local/bin/mobileclichmod +x /usr/local/bin/mobileclimacOS (Intel)
Section titled “macOS (Intel)”curl -L https://github.com/mobile-next/mobilecli/releases/latest/download/mobilecli-darwin-amd64 -o /usr/local/bin/mobileclichmod +x /usr/local/bin/mobileclicurl -L https://github.com/mobile-next/mobilecli/releases/latest/download/mobilecli-linux-amd64 -o /usr/local/bin/mobileclichmod +x /usr/local/bin/mobilecliWindows
Section titled “Windows”Download mobilecli-windows-amd64.exe from the releases page and add it to your PATH.
Verify
Section titled “Verify”mobilecli --versionmobilecli devicesPlatform prerequisites
Section titled “Platform prerequisites”For Android
Section titled “For Android”- Android SDK installed (via Android Studio or standalone)
adbon your PATH- USB debugging enabled on the device, or an emulator running
For iOS
Section titled “For iOS”- macOS required
- Xcode installed
- Device trust established, or a simulator running