Appearance
Install Android CLI
This page provides an archive of Android CLI releases.
For the fastest way to download and install, run the command for your operating system in your terminal.
Local installation (current user)
Use this method to install the CLI only for your user account. Local installation does not require elevated permissions.
Linux:
curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install.sh | bashMacOS with Apple chip:
curl -fsSL https://dl.google.com/android/cli/latest/darwin_arm64/install.sh | bashMacOS with Intel chip:
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"Global installation (all users)
Use this method to make the Android CLI available to every user on this machine. Global installation requires sudo or Admin privileges.
Linux:
curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install_root.sh | bashMacOS with Apple chip:
curl -fsSL https://dl.google.com/android/cli/latest/darwin_arm64/install_root.sh | bashMacOS with Intel chip:
curl -fsSL https://dl.google.com/android/cli/latest/darwin_x86_64/install_root.sh | bashWindows:
curl.exe -fsSL https://dl.google.com/android/cli/latest/windows_x86_64/install_admin.cmd -o "%TEMP%\i.cmd" && "%TEMP%\i.cmd"Direct download
To download the Android CLI directly, download from one of the following links for the host's operating system:
- Linux: https://dl.google.com/android/cli/latest/linux\_x86\_64/android
- MacOS with Apple chip: https://dl.google.com/android/cli/latest/darwin\_arm64/android
- MacOS with Intel chip: https://dl.google.com/android/cli/latest/darwin\_x86\_64/android
- Windows: https://dl.google.com/android/cli/latest/windows\_x86\_64/android.exe