Skip to content

Android CLI DocsBuild Android apps with any AI agent.

Mirror of developer.android.com/tools/agents — Android CLI, Skills, and Knowledge Base. Self-contained reference with AI chat.

What is Android CLI?

Android CLI is a command-line interface that enables you to more easily and efficiently build for Android using any agent of your choice. It standardizes core development competencies for agent-first workflows, providing an entry point to the official tools, skills, and knowledge you need to develop more effectively.

For example, an agent or script can use the CLI to automate environment setup, scaffold new projects from templates, and manage virtual devices directly from your terminal. It also gives your agents access to Android skills and the specialized Android Knowledge Base.

Quick install

Linux:

bash
curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install.sh | bash

macOS (Apple Silicon):

bash
curl -fsSL https://dl.google.com/android/cli/latest/darwin_arm64/install.sh | bash

macOS (Intel):

bash
curl -fsSL https://dl.google.com/android/cli/latest/darwin_x86_64/install.sh | bash

Windows:

cmd
curl.exe -fsSL https://dl.google.com/android/cli/latest/windows_x86_64/install.cmd -o "%TEMP%\i.cmd" && "%TEMP%\i.cmd"

After install, run android init to set up agent skills, then android --help to see commands.

See the full install reference for global (all-users) installs and direct binary downloads.

Self-contained mirror of developer.android.com/tools/agents — content reformatted, no outbound links.