erun
🚀 Supercharge your mobile development workflow with this powerful CLI tool. Launch iOS simulators and Android emulators with a single command - no more clicking through endless menus!
Installation
Using Homebrew (recommended)
brew install erun
Manual Installation
- Make sure you have Dart SDK installed
- Clone this repository
- Run
dart pub getto install dependencies - Run
dart pub global activate --source path .from the project directory
Requirements
For iOS Development
- Xcode and iOS Simulator installed
- Xcode Command Line Tools (
xcode-select --install)
For Android Development
- Android SDK installed
- At least one Android Virtual Device (AVD) created
ANDROID_HOMEenvironment variable set- Android SDK tools in your PATH (
emulatorandadbcommands available)
Usage
Launch iOS Simulator
erun i # Launch iOS simulator
erun i -y # Launch iOS simulator and run Flutter app
Launch Android Emulator
erun a # Launch Android emulator
erun a -y # Launch Android emulator and run Flutter app
Options
-y, --run: Automatically run Flutter app after device launches
Common Issues
iOS
- If you get "xcrun not found" error, install Xcode Command Line Tools
- Make sure you have at least one iOS Simulator created in Xcode
Android
- If "emulator not found", check if Android SDK tools are in your PATH
- Ensure you have created AVDs using Android Studio
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details