Android CLI
Google · Google’s command-line entry point for Android SDK setup, project creation, device workflows and agent-assisted development.
brew install --cask android-cli- 30-day installs
- 1,232
- #252 in App
- 1-year installs
- 3.4K
- Last 365 days
- Latest version
- 1.1.16919734
- Download size
- 3.7MB
- Release cadence
- Weekly
- 1 release in 30 days
About
Android CLI standardizes Android development tasks for terminal users, scripts and coding agents. It provides access to official tools, skills and Android guidance without requiring every workflow to start from the Android Studio interface.
Development tasks
Use the CLI to set up an Android SDK, scaffold projects, manage virtual devices, install APKs and inspect device screens or UI hierarchies. Supported integrations with a running Android Studio instance provide semantic analysis, Compose preview rendering and dependency lookups. Journeys can test application workflows. Android skills and the specialized knowledge base help agents apply recommended Android patterns.
Setup and requirements
Download the executable matching your platform and processor, make it available on your command path and consult its command help. This catalog currently supplies the Darwin ARM64 executable. Additional SDK packages, emulator images, Android Studio integrations and attached devices have their own installation and compatibility requirements; the small CLI executable is not a complete SDK. Run android init to install the Android CLI skill when using it with an agent. A .androidrc file can set recurring options, including the SDK path.
Choose an explicit SDK with --sdk when needed, and use android info to check the active setup. Device commands require the appropriate connected device, emulator or remote reservation. Google-service access uses android auth login when authentication is required. Remote physical-device availability depends on accessible Google Cloud projects and reservation configuration.
Data and operation
Google documents collection of command invocations, option names, selected predefined option values and anonymized error details. It says responses, custom project names and local file paths are not collected as ordinary command inputs. Use --no-metrics to disable the documented data collection. Authentication and remote-device workflows still communicate with the selected services. Service accounts, cloud resources and model agents can have separate terms or charges.
Commands can install packages, start devices and modify projects, so review an agent's requested actions and verify target paths. Keep project files under source control and retain backups before automated changes. Android CLI is a command-line tool. The supplied Android Studio SDK Manager image illustrates a historical companion SDK installation workflow, rather than a dedicated Android CLI graphical interface or current binary capture.
Official overview and command reference · Official release notes
Installation interface example
The official Android documentation supplies a historical Mac Android Studio SDK Manager image showing the SDK Tools tab. The same guide identifies Android SDK Command-Line Tools among packages managed through this tab and links to sdkmanager. This is a companion SDK installation example, not a terminal capture of the current standalone command-line-tools build. Versions displayed in this historical image are not attributed to the current package.
At a glance
- Chip
- Apple silicon · Intel
- Auto-updates
- No
- Developer
- Homebrew
- Available; updated by Homebrew
- Also known as
- android-cli
- Homepage
- developer.android.com/tools/agents/android-cli
- Token
- android-cli
Checked
How to install Android CLI on Mac
Install without Homebrew
Download the file Homebrew uses for your chip: Install Details
Uninstall Android CLI and optional data cleanup
brew uninstall --cask android-cliA regular uninstall removes the app and keeps its settings and caches.
Deep clean (optional)
brew uninstall --zap --cask android-cli--zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap.
Questions about Android CLI
Is Android CLI safe?
Android CLI is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from dl.google.com against its SHA-256 checksum. It was installed 1,232 times through Homebrew in the last 30 days.
How do I completely uninstall Android CLI on a Mac?
Run brew uninstall --cask android-cli. To delete its settings and caches as well, run brew uninstall --zap --cask android-cli. --zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap. That also deletes 2 files and folders, including ~/.
Does Android CLI run on Apple silicon (M1 and later) Macs?
Yes. Homebrew downloads separate builds for Apple silicon and Intel Macs.
Where does Android CLI store its settings and data?
Its data is in ~/. These locations come from Homebrew’s clean-up list.
What is the latest version of Android CLI?
The latest version is 1.1.16919734, added to Homebrew on Nov 13, 2026. Run brew upgrade --cask android-cli to update it.
What else does installing Android CLI add?
It also adds 1 command-line tool: android.
Similar Apps
- OpenUsageA native Mac menu-bar dashboard for AI-provider subscription limits, reset times and estimated local spending.
- Unity CLIUnity’s experimental command-line interface for managing Editors, modules and projects and automating supported Editor workflows.
- Slack CLIA command-line toolkit for creating, testing and deploying Slack apps with supported frameworks and SDKs.
- GitKraken DesktopA visual Git client with commit graphs, diff and merge tools, repository integrations, worktrees and a unified view of coding-agent sessions.