How it works (visual)
5-minute illustrated walkthrough — agent + CLI + Skills + Knowledge Base, with diagrams and step-by-step flow.
Open the visual explainer
Mirror of developer.android.com/tools/agents — Android CLI, Skills, and Knowledge Base. Self-contained reference with AI chat.
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.
Linux:
curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install.sh | bashmacOS (Apple Silicon):
curl -fsSL https://dl.google.com/android/cli/latest/darwin_arm64/install.sh | bashmacOS (Intel):
curl -fsSL https://dl.google.com/android/cli/latest/darwin_x86_64/install.sh | bashWindows:
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.