# Android SDK Command-line Tools

Manage Android SDK packages and command-line development utilities without installing the full Android Studio IDE.

> This is the Markdown version of the Android SDK Command-line Tools page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/android-commandlinetools>

- **Latest version**: `15859902`
- **Developer**: Google LLC
- **Homepage**: <https://developer.android.com/studio>
- **Categories**: [Developer Tools](https://opennavo.com/categories/developer-tools)
- **Install**: `brew install --cask android-commandlinetools`
- **30-day installs**: 58,367
- **Homebrew**: Still offered by Homebrew; paused by OpenNavo
- **Download URL**: <https://dl.google.com/android/repository/commandlinetools-mac_arm64-15859902_latest.zip>
- **SHA-256**: `835b62a26162b229b441d1f6d4680383815a270809eb33522c0d480fa5002c4e`
- **Commands**: apkanalyzer, avdmanager, d8, lint, profgen, r8, resourceshrinker, retrace, screenshot2, sdkmanager, android

SHA-256 only checks that the download is complete; it is not a security certification.

## Caveats

Default Android SDK root is $HOMEBREW_PREFIX/share/android-commandlinetools android-commandlinetools requires Java. You can install the latest version with: brew install --cask temurin

## Installation and removal contents

```json
[
  {
    "declaration": {
      "artifact": [
        "cmdline-tools",
        {
          "target": "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest"
        }
      ],
      "target": "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest"
    },
    "phase": "install",
    "sources": [
      "cmdline-tools"
    ],
    "target": "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest",
    "type": "artifact"
  },
  {
    "declaration": {
      "binary": [
        "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/apkanalyzer"
      ],
      "target": "$HOMEBREW_PREFIX/bin/apkanalyzer"
    },
    "phase": "install",
    "sources": [
      "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/apkanalyzer"
    ],
    "target": "$HOMEBREW_PREFIX/bin/apkanalyzer",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/avdmanager"
      ],
      "target": "$HOMEBREW_PREFIX/bin/avdmanager"
    },
    "phase": "install",
    "sources": [
      "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/avdmanager"
    ],
    "target": "$HOMEBREW_PREFIX/bin/avdmanager",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/d8"
      ],
      "target": "$HOMEBREW_PREFIX/bin/d8"
    },
    "phase": "install",
    "sources": [
      "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/d8"
    ],
    "target": "$HOMEBREW_PREFIX/bin/d8",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/lint"
      ],
      "target": "$HOMEBREW_PREFIX/bin/lint"
    },
    "phase": "install",
    "sources": [
      "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/lint"
    ],
    "target": "$HOMEBREW_PREFIX/bin/lint",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/profgen"
      ],
      "target": "$HOMEBREW_PREFIX/bin/profgen"
    },
    "phase": "install",
    "sources": [
      "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/profgen"
    ],
    "target": "$HOMEBREW_PREFIX/bin/profgen",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/r8"
      ],
      "target": "$HOMEBREW_PREFIX/bin/r8"
    },
    "phase": "install",
    "sources": [
      "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/r8"
    ],
    "target": "$HOMEBREW_PREFIX/bin/r8",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/resourceshrinker"
      ],
      "target": "$HOMEBREW_PREFIX/bin/resourceshrinker"
    },
    "phase": "install",
    "sources": [
      "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/resourceshrinker"
    ],
    "target": "$HOMEBREW_PREFIX/bin/resourceshrinker",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/retrace"
      ],
      "target": "$HOMEBREW_PREFIX/bin/retrace"
    },
    "phase": "install",
    "sources": [
      "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/retrace"
    ],
    "target": "$HOMEBREW_PREFIX/bin/retrace",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/screenshot2"
      ],
      "target": "$HOMEBREW_PREFIX/bin/screenshot2"
    },
    "phase": "install",
    "sources": [
      "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/screenshot2"
    ],
    "target": "$HOMEBREW_PREFIX/bin/screenshot2",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/sdkmanager"
      ],
      "target": "$HOMEBREW_PREFIX/bin/sdkmanager"
    },
    "phase": "install",
    "sources": [
      "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/sdkmanager"
    ],
    "target": "$HOMEBREW_PREFIX/bin/sdkmanager",
    "type": "binary"
  },
  {
    "declaration": {
      "binary": [
        "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/android"
      ],
      "target": "$HOMEBREW_PREFIX/bin/android"
    },
    "phase": "install",
    "sources": [
      "$HOMEBREW_PREFIX/share/android-commandlinetools/cmdline-tools/latest/bin/android"
    ],
    "target": "$HOMEBREW_PREFIX/bin/android",
    "type": "binary"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/.android",
            "$HOMEBREW_PREFIX/share/android-commandlinetools"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## About

Android SDK Command-line Tools is Google's standalone package of SDK-management utilities for Android development on macOS. It provides sdkmanager and avdmanager plus supporting tools such as apkanalyzer, d8, lint, r8 and retrace, so you can install SDK platforms, build tools and system images from a terminal. It suits scripted setups, CI machines and Macs that do not run the Android Studio IDE. It does not include adb or fastboot, which belong to the separate Platform-Tools package.

### What the package provides

Google distributes the command-line tools as a ZIP archive listed in the Android SDK repository. The Homebrew cask installs the current archive under `$HOMEBREW_PREFIX/share/android-commandlinetools`, with executables linked from `cmdline-tools/latest/bin`. `sdkmanager` lists, installs, updates and removes SDK packages, and can select stable or preview channels for reproducible automation. `avdmanager` creates and manages Android Virtual Devices once the matching system image is installed. The cask also links `apkanalyzer`, `d8`, `lint`, `r8` and `retrace` for inspection and build tasks. The [Developer Workbench collection](/collections/developer-workbench) lists related command-line tools for macOS.

Google's current sdkmanager guide marks sdkmanager and avdmanager as deprecated and recommends the Android CLI (`android sdk`, `emulator`) instead. Both commands still ship in this cask and remain usable, but new automation should check Google's migration guidance before standardising on them.

### Install on Mac and manage SDK packages

Install with `brew install --cask android-commandlinetools`. The cask declares Java as a dependency and suggests the Temurin cask (`brew install --cask temurin`) as one way to provide it. Google does not publish a single required JDK version for build 15859902, so use a JDK compatible with the tools you install and point `JAVA_HOME` at it.

Check the tools with `sdkmanager --version` and list available packages with `sdkmanager --list`. Accept the applicable licences with `sdkmanager --licenses`, then install only what you need, for example `sdkmanager "platform-tools" "platforms;android-36"`. Update or remove packages with `sdkmanager --update` and `sdkmanager --uninstall`. Use `--sdk_root` when scripts must target a specific SDK directory instead of the cask default.

To create an emulator, install a system image first, then run `avdmanager create avd -n test -k "system-images;android-25;google_apis;x86"`. On Apple Silicon, choose an arm64 system image for native speed. Android Studio's Device Manager and the Android CLI emulator commands are alternative ways to manage the same virtual devices; the [Platform-Tools page](/apps/android-platform-tools) covers adb and fastboot, which are installed as a separate SDK package.

### macOS requirements and dependencies

The current cask version is build 15859902, which maps to cmdline-tools 22.0 in Google's repository XML. The cask does not declare a minimum macOS version, and Google's command-line tools release notes do not state an independent macOS minimum for this build. Treat the arm64 and x86-64 downloads as the supported Mac architectures rather than inferring a macOS release from the OpenNavo Mac app.

Java is a confirmed dependency even though Homebrew's formula-dependency field is empty. Disk use depends on the SDK packages, system images and emulators you install; Google does not publish one combined figure. If Android Studio is also installed, keep each SDK root separate and make sure scripts and the IDE point at the same one. See the [Developer Tools category](/categories/developer-tools) for other build and device tools.

### Price, licences and accounts

The command-line tools are free to download and use. Downloads require accepting the Android SDK License Agreement, and `sdkmanager --licenses` records that acceptance for the SDK packages you install. Ordinary local package management does not require a paid subscription or a Google account. Individual open-source components keep their own licences, and publishing to Google Play is a separate service with its own account and fees.

### Versions and update status

The cask has recorded five versions: 15859902 (cmdline-tools 22.0), 14742923 (20.0), 13114758 (19.0), 11076708 and 10406996. The official release notes page does not provide per-version change lists for 22.0, 20.0 or 19.0, so this page does not attribute undocumented fixes to those builds. Upgrade the cask with `brew upgrade --cask android-commandlinetools`, or install a newer ZIP from Google. OpenNavo currently pauses recommending this cask because the listed version has not changed for more than 90 days; the Homebrew cask remains available and installable.

### Alternatives and related tools

Android Studio is the full IDE with a graphical SDK Manager, emulator and device manager; use it when you want an integrated editor and debugger. Platform-Tools is the separate package that provides adb and fastboot for physical devices. The Android CLI is Google's newer command-line interface, which the sdkmanager documentation now recommends for SDK and emulator tasks. Command-line Tools remains the smaller, script-friendly option for installing SDK components on machines without the IDE. See [Android Studio](/apps/android-studio) for the full IDE and the [Platform-Tools page](/apps/android-platform-tools) for the device tools.

### FAQ

#### Do I need Android Studio to use these tools?

No. The command-line tools install and manage SDK packages without the IDE. Android Studio is only needed when you want its graphical editor, SDK Manager or emulator controls.

#### Do the command-line tools include adb and fastboot?

No. adb and fastboot are in the separate `platform-tools` SDK package. Install it with `sdkmanager "platform-tools"`; the [Platform-Tools page](/apps/android-platform-tools) covers its use.

#### Which Java version do I need?

Homebrew requires Java and suggests Temurin, but Google does not name a specific JDK for build 15859902. Install a current JDK, set `JAVA_HOME`, and check the release notes of the tools you use.

#### Are sdkmanager and avdmanager still usable?

Yes. They still ship in this cask, but Google marks both as deprecated and recommends the Android CLI equivalents (`android sdk` and `emulator`) for new work.

#### Which macOS versions are supported?

Google does not state a macOS minimum for this build, and the cask declares none. Downloads are available for Apple Silicon (arm64) and Intel (x86-64).

Last updated: 2026-11-05. Sources: Google Android developer documentation (sdkmanager, avdmanager, Android CLI, command-line tools release notes), the Google SDK repository XML, and Homebrew cask metadata.

### Official references

- [Command-line tools release notes](https://developer.android.com/tools/releases/cmdline-tools)
- [sdkmanager](https://developer.android.com/tools/sdkmanager)
- [avdmanager](https://developer.android.com/tools/avdmanager)
- [Android CLI reference](https://developer.android.com/tools/android-cli-reference)
- [Android Studio](https://developer.android.com/studio)

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 15859902 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/android-commandlinetools.rb> · Checked 2026-11-21
  - <https://dl.google.com/android/repository/commandlinetools-mac_x86_64-15859902_latest.zip>
  - SHA-256: `c5a6378ab5cf7e0d5701921405115befff13e9ff7417fb588389338f8bd050f3`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 15859902 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/android-commandlinetools.rb> · Checked 2026-11-21
  - <https://dl.google.com/android/repository/commandlinetools-mac_arm64-15859902_latest.zip>
  - SHA-256: `835b62a26162b229b441d1f6d4680383815a270809eb33522c0d480fa5002c4e`

## Uninstall

- `brew uninstall --cask android-commandlinetools`

A regular uninstall removes the app and keeps its settings and caches.

### Deep clean (optional)

- `brew uninstall --zap --cask android-commandlinetools`

`--zap` also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out `--zap`.

A regular uninstall removes the app and keeps its settings and caches.

- Files and folders: `~/.android` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/android-commandlinetools.rb> · These entries come from the Homebrew definition, checked 2026-11-21. They say what it declares, not what is on your Mac.
- Files and folders: `$HOMEBREW_PREFIX/share/android-commandlinetools` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/android-commandlinetools.rb> · These entries come from the Homebrew definition, checked 2026-11-21. They say what it declares, not what is on your Mac.

## Facts and sources

- <https://opennavo.com/apps/android-commandlinetools>
- <https://opennavo.com/apps/android-commandlinetools/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/android-commandlinetools.rb> · Checked 2026-11-21
- <https://formulae.brew.sh/cask/android-commandlinetools>
