The Ultimate CLI for Mobile Developers on Termux
Flutter • Install • Usage • Contributing
krinry is a powerful CLI tool designed for mobile developers using Termux on Android. Build Flutter APKs in the cloud, install packages with one command, and develop apps right from your phone!
| Feature | Description |
|---|---|
| ☁️ Cloud Builds | Build Flutter APKs/AABs using GitHub Actions |
| 📦 Package Manager | Install Flutter, editors, and tools with one command |
| 🔄 Auto Updates | Keep krinry up-to-date automatically |
| 📱 Termux Native | Built specifically for Termux on Android |
| 🎨 Beautiful UI | Colorful, informative terminal output |
curl -fsSL https://raw.githubusercontent.com/krinry/krinry-cli/dev/install.sh | bashAfter installation, restart your terminal or run:
source ~/.bashrc- Termux (from F-Droid)
- Internet connection
- GitHub account (for cloud builds)
krinry install flutter# Initialize your project
cd your-flutter-project
krinry flutter init
# Build release APK
krinry flutter build apk --release| Command | Description |
|---|---|
krinry --help |
Show help |
krinry --version |
Show version |
krinry update |
Update krinry to latest |
# Install Flutter SDK
krinry install flutter
# Install AI Tools
krinry install qwen
# Install Shell enhancements
krinry install oh-my-zsh
krinry install shell-tools
# Install editors
krinry install neovim
krinry install micro
# Install any Termux package as fallback
krinry install <package-name># Initialize cloud builds in your project
krinry flutter init
# Check system setup
krinry flutter doctor
# Build APK (cloud)
krinry flutter build apk --release
krinry flutter build apk --debug
krinry flutter build apk --split-per-abi
# Build App Bundle
krinry flutter build appbundle --release
# Run web server locally
krinry flutter run web| Flag | Description |
|---|---|
--release |
Release build (optimized) |
--debug |
Debug build (default) |
--split-per-abi |
Split APK by architecture |
--target-platform |
Build for specific ABI |
--install |
Install APK after download |
- Initialize -
krinry flutter initcreates a GitHub Actions workflow - Commit - Push your code to GitHub
- Build -
krinry flutter build apktriggers the workflow - Download - APK is automatically downloaded when ready
Your Phone (Termux) GitHub Actions
│ │
├── krinry flutter init ────►│ Creates workflow
│ │
├── git push ───────────────►│ Code uploaded
│ │
├── krinry flutter build ───►│ Triggers build
│ │
│◄── APK downloaded ─────────┤ Build complete
│ │
~/.krinry/
├── bin/
│ └── krinry # Main CLI entry point
├── lib/
│ ├── core.sh # Core utilities
│ ├── update.sh # Auto-update
│ ├── install.sh # Auto-discovery plugin dispatcher
│ ├── installers/ # 📦 PLUGINS: Drop a .sh file here to add a tool!
│ │ ├── qwen.sh
│ │ ├── flutter.sh
│ │ └── ...
│ └── flutter/ # Dedicated flutter core logic
│ ├── init.sh
│ └── build.sh
└── workflows/
└── krinry-flutter-build.yml
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Flutter - UI toolkit
- GitHub Actions - Cloud CI/CD
Made with ❤️ by krinry