π 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!
git clone [email protected]:alaev-dev/erun.git
cd erun
brew install --build-from-source $(pwd)/Formula/erun.rb
- Download the latest
erun-macos
from the Releases page - Make it executable:
chmod +x erun-macos
- Move to a directory in your PATH:
sudo mv erun-macos /usr/local/bin/erun
- Download the latest
erun-linux
from the Releases page - Make it executable:
chmod +x erun-linux
- Move to a directory in your PATH:
sudo mv erun-linux /usr/local/bin/erun
- Download the latest
erun-windows.exe
from the Releases page - Rename it to
erun.exe
- Move it to a directory in your PATH or create a new directory and add it to your PATH
- Make sure you have Dart SDK installed
- Clone this repository
- Run
dart pub get
to install dependencies - Run
dart compile exe bin/erun.dart -o erun
Feature | macOS | Windows | Linux |
---|---|---|---|
iOS Simulator | β | β | β |
Android Emulator | β | β | β |
- Xcode and iOS Simulator installed
- Xcode Command Line Tools (
xcode-select --install
)
- Android SDK installed
- At least one Android Virtual Device (AVD) created
ANDROID_HOME
environment variable set- Android SDK tools in your PATH (
emulator
andadb
commands available)
erun i # Launch iOS simulator and run Flutter app
erun a # Launch Android emulator and run Flutter app
-v, --version
: Print version information-h, --help
: Print usage information
- If you get "xcrun not found" error, install Xcode Command Line Tools
- Make sure you have at least one iOS Simulator created in Xcode
- If "emulator not found", check if Android SDK tools are in your PATH
- Ensure you have created AVDs using Android Studio
- On Windows, make sure to add
%ANDROID_HOME%\tools
and%ANDROID_HOME%\platform-tools
to your PATH - On Linux/macOS, add
$ANDROID_HOME/tools
and$ANDROID_HOME/platform-tools
to your PATH
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
To run tests:
dart test
To format code:
dart format .
To analyze code:
dart analyze
This project is licensed under the MIT License - see the LICENSE file for details