
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
A powerful, interactive CLI tool for Android development that brings the essential features of Android Studio to your terminal. Inspired by Expo CLI, this tool provides fast incremental builds, device management, and debugging without the heavy GUI overhead.
droid-cli.jsonnpm install -g droid-cli
droid-cli init
droid-cli
All commands support the --project (or -p) flag to specify the Android project directory:
droid-cli --project /path/to/android/project [command]
This allows you to run the CLI from anywhere while targeting a specific project.
droid-cli [--project <path>]
Launches the main interactive menu with all available options.
droid-cli build [--variant debug|release] [--device device-id] [--project <path>]
Builds the app and deploys it to the selected device.
droid-cli device [--project <path>]
List and select target devices/emulators.
droid-cli logcat [--device device-id] [--project <path>]
Opens logcat in a new terminal window, filtered for your app.
droid-cli gradle <task> [--args "additional arguments"] [--project <path>]
Run any Gradle task with optional arguments.
droid-cli init [--project <path>]
Set up or reconfigure the CLI for your project.
droid-cli variant [--project <path>]
Select the default build variant (debug/release) for the project.
The CLI uses an droid-cli.json file in your project root for configuration:
{
"projectPath": "./app",
"defaultVariant": "debug",
"terminal": "auto",
"gradleTasks": {
"custom": ["myCustomTask"]
},
"buildCache": {
"enabled": true,
"maxSize": "1GB"
},
"logcat": {
"clearOnStart": true,
"colorize": true
},
"adbReverse": {
"enabled": false,
"ports": [8081]
},
"selectedDevice": "emulator-5554"
}
projectPath - Path to your Android project directorydefaultVariant - Default build variant (debug/release)terminal - Terminal to use for logcat (auto/iterm2/terminal/gnome-terminal/etc.)gradleTasks.custom - Array of custom Gradle tasks to show in menubuildCache.enabled - Enable Gradle build cache for faster buildsbuildCache.maxSize - Maximum cache sizelogcat.clearOnStart - Clear logcat before starting new sessionlogcat.colorize - Enable colored logcat outputadbReverse.enabled - Automatically run adb reverse for React Native developmentadbReverse.ports - Ports to forward from device to host (e.g., [8081] for Metro bundler)selectedDevice - Last selected device (auto-saved)# In your CI script
droid-cli gradle clean
droid-cli gradle assembleRelease
Share the droid-cli.json configuration with your team for consistent build settings.
MIT License - see LICENSE file for details.
FAQs
Interactive CLI for Android development, inspired by Expo CLI
We found that droid-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.