Android SDK Command-line Tools
Google LLC · Manage Android SDK packages and command-line development utilities without installing the full Android Studio IDE.
- Installations sur 30 jours
- 44 555
- N° 5 du classement App
- Installations sur 1 an
- 306,2 k
- 365 derniers jours
- Dernière version
- 15859902
- 7 oct. · 7 oct.
- Taille du téléchargement
- 156Mo
- arm64 / x86_64 · zip
- Rythme des versions
- Irrégulier
- 1 version en 30 jours
Android SDK Command-line Tools est un logiciel Mac de la catégorie Outils de développement. Développée par Google LLC.
Informations clés
- Puce
- Apple silicon · Intel
- Développeur
- Google LLC
- Commande d’installation
brew install --cask android-commandlinetools- Homebrew
- Disponible ; mises à jour par Homebrew
- Autres noms
- android-commandlinetools
Ces informations ont été vérifiées au plus tôt le . Voir les sources de chaque information
Présentation
Android SDK Command-line Tools is Google's standalone collection of SDK-management and development utilities for Android developers and build engineers. It is useful for scripted SDK setup and machines that do not need Android Studio's graphical IDE. It is distinct from Platform-Tools (adb and fastboot), Build-Tools, and the Android Emulator, which are separate SDK packages.
Capabilities
- List, install, update, and remove SDK packages with sdkmanager.
- Select exact SDK package versions and stable or preview update channels for reproducible automation.
- Review and accept applicable SDK package licenses with sdkmanager --licenses.
- Use included development utilities such as avdmanager, lint, apkanalyzer, and retrace as documented for the selected tool release.
Current guidance
Google's current sdkmanager guide marks sdkmanager deprecated and recommends the Android CLI's android sdk commands. This describes that utility's upstream status; the currently listed Homebrew cask itself is not marked deprecated. Existing scripts should check Google's migration guidance rather than assuming the newer Android CLI is included in this cask.
Install and configure
On Mac, install with brew install --cask android-commandlinetools. Homebrew records the default SDK root as $HOMEBREW_PREFIX/ and explicitly requires Java, suggesting the Temurin cask as a way to provide it. Configure a compatible JDK and JAVA_HOME for your selected tool release. Use sdkmanager --version and sdkmanager --list to inspect the installed tools and available packages. Select the SDK packages you actually need; downloading this toolkit alone does not install every Android platform, build tool, emulator, or device tool.
Systems, dependencies, and coexistence Google distributes Windows, Linux, and macOS archives. The listed build 15859902 has separate official Mac ARM64 and x86-64 downloads; this catalog's default Apple Silicon download is the ARM64 archive. The Homebrew snapshot lists Intel and Apple Silicon Mac platforms, but its platform list is packaging metadata rather than a standalone vendor minimum. The official command-line-tools page does not specify a current independent macOS, memory, disk-space, or minimum JDK requirement for this exact build. Java is a confirmed dependency even though Homebrew's formula-dependency field is empty. No explicit conflicting cask is listed. If you already use Android Studio's SDK Manager, point scripts at the intended SDK root and avoid confusing separate SDK installations.
Access, costs, and licensing Local SDK utilities do not require a paid subscription or Google sign-in for ordinary local package management. Downloads require network access, adequate space for the selected packages, and acceptance of the applicable Android SDK License Agreement. Individual open-source components retain their own licenses; publishing to Google Play is a separate service and account process. Android is a trademark of Google LLC.
Official references
- Tools and releases: https://developer.android.com/tools/releases/cmdline-tools
- sdkmanager and current replacement guidance: https://developer.android.com/tools/sdkmanager
- Downloads and SDK terms: https://developer.android.com/studio
- Official package/version manifest: https://dl.google.com/android/repository/repository2-3.xml
Image credit: The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License (https://creativecommons.org/licenses/by/3.0/).
SDK installation interface example The supplied Google documentation image shows the historical Mac Android Studio SDK Manager SDK Tools tab. The publisher guide lists Android SDK Command-Line Tools among the packages managed through this tab. This is a companion SDK installation interface, not a capture of current standalone build 15859902 or its terminal output. Displayed historical package versions are not attributed to this archive.
Configuration requise
| macOS | Version | Puce | Téléchargement | Source |
|---|---|---|---|---|
| Version pour macOS 27, 26, 15, 14, 13, 12, 11 | 15859902 | Intel | dl.google.com/android/repository/commandlinetools-mac_x86_64-15859902_latest.zipSHA-256 c5a6378ab5cf7e0d5701921405115befff13e9ff7417fb588389338f8bd050f3 | HomebrewVérifié le |
| Version pour macOS 27, 26, 15, 14, 13, 12, 11 | 15859902 | Apple silicon | dl.google.com/android/repository/commandlinetools-mac_arm64-15859902_latest.zipSHA-256 835b62a26162b229b441d1f6d4680383815a270809eb33522c0d480fa5002c4e | HomebrewVérifié le |
Comment installer Android SDK Command-line Tools sur Mac
- Dans « Terminal », exécutez :
brew install --cask android-commandlinetools
Mises en garde
Default Android SDK root is $HOMEBREW_PREFIX/share/ android-commandlinetools requires Java. You can install the latest version with: brew install --cask temurinandroid-commandlinetools
Installer sans Homebrew
Téléchargez le fichier que Homebrew utilise pour votre puce : Apple siliconIntel
Le SHA-256 vérifie seulement que le téléchargement est complet ; ce n’est pas une certification de sécurité. Voir le SHA-256 et l’adresse de téléchargement
Désinstaller Android SDK Command-line Tools et nettoyer éventuellement ses données
brew uninstall --cask android-commandlinetoolsUne désinstallation standard supprime l’app mais conserve ses réglages et ses caches.
Nettoyage approfondi (facultatif)
brew uninstall --zap --cask android-commandlinetools--zap supprime aussi les réglages, les caches et les autres fichiers listés dans la définition Homebrew. Ils peuvent inclure des données partagées avec d’autres apps et ne peuvent pas être restaurés après suppression ; cette option ne garantit pas non plus qu’il ne reste rien. Sauvegardez d’abord les données à conserver. Pour conserver les réglages et les caches, n’ajoutez pas --zap.
Fichiers que Android SDK Command-line Tools peut laisser sur votre Mac (2)
- Fichiers et dossiers
~/.android$HOMEBREW_PREFIX/share/android-commandlinetools
Ces éléments proviennent de la définition Homebrew, vérifiée le ; ils indiquent ce que la définition déclare supprimer, sans confirmer que ces éléments se trouvent sur votre Mac.
Nouveautés de la version 15859902
Nouveau · Rédaction OpenNavo
Cette version n’a pas de notes dédiées.
Informations de sécurité sur Android SDK Command-line Tools
Cette page présente uniquement des faits vérifiables, avec leur source et leur date. Elle ne constitue pas une certification de sécurité. Pour vérifier les fichiers téléchargés, analysez-les localement avec OpenNavo.
- Canaux de distribution
- Homebrew
Détails d’installation
- Tap
- homebrew/cask
- Commandes
- apkanalyzer avdmanager d8 lint profgen r8 resourceshrinker retrace screenshot2 sdkmanager android
- URL de téléchargement
- https://dl.google.com/android/repository/commandlinetools-mac_arm64-15859902_latest.zip
- SHA-256
- 835b62a26162b229b441d1f6d4680383815a270809eb33522c0d480fa5002c4e
- Définition Homebrew
- github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/android-commandlinetools.rb
- formulae.brew.sh
- formulae.brew.sh/cask/android-commandlinetools
- Code source
- android.googlesource.com
Contenu de l’installation et de la désinstallation
Installation
artifactFichier source: cmdline-tools
Destination déclarée: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest Voir la déclaration complète
{ "artifact": [ "cmdline-tools", { "target": "$HOMEBREW_PREFIX/
share/ } ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest" share/ }android-commandlinetools/ cmdline-tools/ latest" Installation
binaryFichier source: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest/ bin/ apkanalyzer Destination déclarée: $HOMEBREW_PREFIX/
bin/ apkanalyzer Voir la déclaration complète
{ "binary": [ "$HOMEBREW_PREFIX/
share/ ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest/ bin/ apkanalyzer" bin/ }apkanalyzer" Installation
binaryFichier source: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest/ bin/ avdmanager Destination déclarée: $HOMEBREW_PREFIX/
bin/ avdmanager Voir la déclaration complète
{ "binary": [ "$HOMEBREW_PREFIX/
share/ ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest/ bin/ avdmanager" bin/ }avdmanager" Installation
binaryFichier source: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest/ bin/ d8 Destination déclarée: $HOMEBREW_PREFIX/
bin/ d8 Voir la déclaration complète
{ "binary": [ "$HOMEBREW_PREFIX/
share/ ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest/ bin/ d8" bin/ }d8" Installation
binaryFichier source: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest/ bin/ lint Destination déclarée: $HOMEBREW_PREFIX/
bin/ lint Voir la déclaration complète
{ "binary": [ "$HOMEBREW_PREFIX/
share/ ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest/ bin/ lint" bin/ }lint" Installation
binaryFichier source: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest/ bin/ profgen Destination déclarée: $HOMEBREW_PREFIX/
bin/ profgen Voir la déclaration complète
{ "binary": [ "$HOMEBREW_PREFIX/
share/ ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest/ bin/ profgen" bin/ }profgen" Installation
binaryFichier source: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest/ bin/ r8 Destination déclarée: $HOMEBREW_PREFIX/
bin/ r8 Voir la déclaration complète
{ "binary": [ "$HOMEBREW_PREFIX/
share/ ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest/ bin/ r8" bin/ }r8" Installation
binaryFichier source: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest/ bin/ resourceshrinker Destination déclarée: $HOMEBREW_PREFIX/
bin/ resourceshrinker Voir la déclaration complète
{ "binary": [ "$HOMEBREW_PREFIX/
share/ ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest/ bin/ resourceshrinker" bin/ }resourceshrinker" Installation
binaryFichier source: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest/ bin/ retrace Destination déclarée: $HOMEBREW_PREFIX/
bin/ retrace Voir la déclaration complète
{ "binary": [ "$HOMEBREW_PREFIX/
share/ ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest/ bin/ retrace" bin/ }retrace" Installation
binaryFichier source: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest/ bin/ screenshot2 Destination déclarée: $HOMEBREW_PREFIX/
bin/ screenshot2 Voir la déclaration complète
{ "binary": [ "$HOMEBREW_PREFIX/
share/ ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest/ bin/ screenshot2" bin/ }screenshot2" Installation
binaryFichier source: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest/ bin/ sdkmanager Destination déclarée: $HOMEBREW_PREFIX/
bin/ sdkmanager Voir la déclaration complète
{ "binary": [ "$HOMEBREW_PREFIX/
share/ ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest/ bin/ sdkmanager" bin/ }sdkmanager" Installation
binaryFichier source: $HOMEBREW_PREFIX/
share/ android-commandlinetools/ cmdline-tools/ latest/ bin/ android Destination déclarée: $HOMEBREW_PREFIX/
bin/ android Voir la déclaration complète
{ "binary": [ "$HOMEBREW_PREFIX/
share/ ], "target": "$HOMEBREW_PREFIX/android-commandlinetools/ cmdline-tools/ latest/ bin/ android" bin/ }android" Suppression des données utilisateur
zapVoir la déclaration complète
{ "zap": [ { "trash": [ "~/
. "$HOMEBREW_PREFIX/android", share/ ] } ] }android-commandlinetools"
Questions fréquentes sur Android SDK Command-line Tools
Android SDK Command-line Tools est-il sûr ?
Android SDK Command-line Tools figure dans le catalogue officiel de Homebrew et n’a pas été désactivé. Depuis septembre 2026, Homebrew désactive les apps qui échouent aux contrôles Gatekeeper de macOS. Lors de l’installation, Homebrew vérifie le fichier téléchargé depuis dl.google.com à l’aide de sa somme de contrôle SHA-256. Il a été installé 44 555 fois via Homebrew au cours des 30 derniers jours.
Comment désinstaller complètement Android SDK Command-line Tools sur Mac ?
Exécutez brew uninstall --cask android-commandlinetools. Pour supprimer aussi ses réglages et ses caches, exécutez brew uninstall --zap --cask android-commandlinetools. --zap supprime aussi les réglages, les caches et les autres fichiers listés dans la définition Homebrew. Ils peuvent inclure des données partagées avec d’autres apps et ne peuvent pas être restaurés après suppression ; cette option ne garantit pas non plus qu’il ne reste rien. Sauvegardez d’abord les données à conserver. Pour conserver les réglages et les caches, n’ajoutez pas --zap. Cela supprime aussi 2 fichiers et dossiers, dont ~/.
Android SDK Command-line Tools fonctionne-t-il sur les Mac avec Apple silicon (M1 ou plus récent) ?
Oui. Homebrew télécharge des versions distinctes pour les Mac Apple silicon et Intel.
Où Android SDK Command-line Tools enregistre-t-il ses réglages et ses données ?
Ses données se trouvent dans ~/. Ces emplacements proviennent de la liste de nettoyage de Homebrew.
Android SDK Command-line Tools : quelle est la dernière version ?
La dernière version est 15859902, ajoutée à Homebrew le 28 juil. Exécutez brew upgrade --cask android-commandlinetools pour le mettre à jour.
Qu’est-ce que Android SDK Command-line Tools installe d’autre ?
Il ajoute aussi 11 outils en ligne de commande, dont apkanalyzer, avdmanager, d8, lint et profgen.
Sources
Chaque information de cette page indique sa source et sa date de vérification. Les informations dont la validité a expiré sont présentées comme valables « au » jour indiqué et ne sont plus données comme actuelles.
- Définition Homebrew : github.com/homebrew/homebrew-cask/blob/HEAD/Casks/a/android-commandlinetools.rb · Vérifié le
- formulae.brew.sh : formulae.brew.sh/cask/android-commandlinetools