## Bring Android CLI to your
terminal and coding agent

Download Android CLI and start building in about two minutes. It connects your terminal directly to Android Studio's code intelligence and platform tools. Use it yourself or hand the same commands to the coding agent you already work with. Download options for all platforms

## Linux

-

  ### Download for Linux using curl \| bash

  **Local installation**


  Install the CLI only for your user account. Local installation does
  not require elevated permissions.

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

  **Global installation**


  Install the CLI for all users on this machine. Global installation
  requires sudo or admin privileges.

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

  ### Download for Linux using apt-get

  Configure the repository and install the package:

  ```
  curl -fsSL https://dl.google.com/linux/linux_signing_key.pub | sudo tee /etc/apt/keyrings/google.asc >/dev/null
  sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/google.asc] http://dl.google.com/android/cli/latest/debian/ stable main" > /etc/apt/sources.list.d/android-cli.list'
  sudo apt-get update
  sudo apt-get install android-cli
  ```
-

  ### Download for Linux directly


  [Download Android CLI for Linux](https://dl.google.com/android/cli/latest/linux_x86_64/android)

## Mac with Apple chip

-

  ### Download for Mac with Apple chip using curl \| bash

  **Local installation**


  Install the CLI only for your user account. Local installation does
  not require elevated permissions.

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

  **Global installation**


  Install the CLI for all users on this machine. Global installation
  requires sudo or admin privileges.

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

  ### Download for Mac with Apple chip using Homebrew


  Android CLI is available through a Homebrew tap. Make sure that you
  have [Homebrew](https://brew.sh/)
  installed before proceeding.

  ```
  brew tap android/tap
  brew install android-cli
  ```
-

  ### Download for Mac with Apple chip directly


  [Download Android CLI for Mac with Apple chip](https://dl.google.com/android/cli/latest/darwin_arm64/android)

## Mac with Intel ch