ktroid ~ bash (v2.1.0)

Build Android Apps.
Without Android Studio.

ktroid is a lightweight Python CLI that replaces bloated IDE workflows with fast, scriptable terminal commands. Reclaim your RAM.

Read the Docs
~ $pip install ktroid
ktroid ~ /workspace
ktd create AwesomeApp com.mycorp.awesome
✓ Project generated with Gradle wrapper
ktd dep glide
✓ Added io.coil-kt:coil-compose to build.gradle
ktd run
> Assembling debug APK...
> Pushing to emulator-5554...
✓ App launched in 1.2s
~50 MB
> RAM Usage
0.1s
> Startup Time
24+
> Native Commands
0
> Telemetry
~/ktroid/features

Built for terminal purists.

You don't need a heavy GUI to build powerful native apps. Control the entire Android toolchain directly from Bash or Zsh.

Terminal Purists

You live in Vim, Neovim, or VS Code. ktroid fits your keyboard-driven workflow without forcing a context switch.

Low-Spec Machines

4 GB RAM? Old laptop? ktroid uses ~50 MB while Android Studio demands 2–4 GB just to open.

CI/CD Pipelines

Scriptable, headless, no GUI required. Drop 'ktd build release' into any automated pipeline.

Offline Environments

Once set up, ktroid builds entirely offline. No cloud dependency, no surprise network calls.

~/ktroid/getting_started

Zero to APK in seconds

01
pip install ktroid

# Works on Linux, macOS, Windows

Install globally via pip
02
ktd setup

# Auto-configures Gradle & SDK

Run master setup wizard
03
ktd create MyApp

# Generates standard Gradle project

Start building!
Standard Output

ktroid does not invent a proprietary build system. It generates standard 100% Android Studio compatible projects.

MyApp/
├── app/
│ ├── build.gradle
│ └── src/main/
│ ├── AndroidManifest.xml
│ └── java/com/mycorp/app/
│ └── MainActivity.kt
├── build.gradle
├── settings.gradle
└── gradlew
~/ktroid/benchmarks

Why not just use Android Studio?

See the difference in resource consumption and workflow flexibility.

MetricktroidAndroid Studio
RAM Usage~50 MB2.5 – 4.0 GB+
Startup Time0.1 seconds30s – 2 min
Install Size~100 KB (CLI)~1.5 GB
CI/CD Friendly✓ NativeRequires workarounds
Offline Builds✓ After setupPartial
Works via SSH✓ YesNo (needs GUI)

ktroid does not replace Android Studio's visual layout editor or memory profiler. Use the right tool for the job.

Ready to compile from the terminal?

GPL-3.0 · Free forever · No telemetry