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 | bash

Mac OS:

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

Windows:

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 | bash

Mac OS:

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

Windows:

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: