When we want to install Android apps in an advanced way using ADB commands on our Mac, many questions can arise, especially if we are not familiar with development tools or if we come from Windows, where the process may be somewhat different. In the macOS environment, Using Homebrew to install ADB and Fastboot has greatly simplified this task., allowing users and developers to quickly access advanced features and perform installations, backups, or even root devices with relative ease.
Currently, the need to install APKs via ADB on Mac has grown especially among those who want to keep their devices up-to-date, try apps outside the Play Store, or need to restore the functionality of an older phone. In this article, we will cover in detail each necessary step, the most useful commands, and the best practices for installing Android apps via ADB using Homebrew on macOS.In addition, we'll review tips, solutions to common problems, and explain each tool involved in the process, with a very practical, natural, and friendly approach.
What are ADB and Fastboot and why do you care?
ADB (Android Debug Bridge) is a tool part of the Android SDK that allows direct communication between your computer and an Android phone or tablet. Thanks to ADB, you can install applications, transfer files, create backups, execute terminal commands on the device, and much more. Meanwhile, Fastboot It is a utility that works when the device is in bootloader mode, facilitating tasks such as flashing firmware, installing custom recoveries, or unlocking the bootloader.
Both tools are essential for those who want to take their Android device management to the next level, as they allow for operations that aren't normally available through the phone's operating system or conventional apps.
Advantages of using a Mac to install ADB and Fastboot
In the Mac environment, Installing and using ADB and Fastboot is much simpler than it was years ago.One of the main reasons is that, unlike Windows, you don't have to deal with multiple complicated drivers. Macs recognize Android devices fairly seamlessly, and they usually require fewer steps to get everything working properly.
Another point in favor is that, thanks to Homebrew —the most popular package manager for macOS—, installing Android Platform Tools is straightforward, fast, and painless, eliminating the need to manually download hundreds of megabytes of packages just to get the command-line utilities.
What is Homebrew and why is it so useful?
Homebrew is, in short, the quintessential package manager in the Mac world. It allows you to easily and securely install all kinds of tools and applications that don't come standard with macOS. When using Homebrew, You make sure you always get the latest and most updated versions of your programs without the typical headaches of manual installations.
In our case, Homebrew is the recommended way to install ADB and Fastboot, as it avoids common errors and simplifies the maintenance and updating of these tools.
Steps to install ADB and Fastboot on Mac using Homebrew

Let's get into the nitty-gritty with the specific steps to install everything you need from scratch. If you already have Homebrew installed, you can skip directly to the Android Tools section.
1. Install Homebrew if you don't have it yet
- Open the Terminal app on your Mac. You can find it using Spotlight (CMD + Spacebar, type “Terminal”).
- Enter the following command and press Enter:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
If you see any prompts asking to install the Xcode command line tools, accept them and wait for them to finish.
This step is essential, as Homebrew will handle the rest of the installations cleanly.
2. Install Android Platform-Tools (ADB and Fastboot)
- With Homebrew already available, run:
brew install android-platform-tools
This command will download and install the latest versions of ADB and Fastboot on your Mac. They will be placed in an accessible path by default, so you can use the commands from any terminal without having to navigate to specific folders.
3. Verify installation
- Test that they have been installed correctly by running:
adb version
fastboot --version
If you get a message indicating the version, You now have ADB and Fastboot working!
Prepare your Android device: Enable USB debugging
Before you can connect your Android to your Mac and send ADB commands to it, you need to enable USB debugging on the phone:
- Open Settings and go to “About phone.”
- Tap "Build Number" repeatedly until developer mode is activated. You'll usually be asked for your PIN or password.
- Go back to Settings, look for “Developer options” (it may be a separate menu or under “System”).
- Enable the “USB debugging” option.
When you connect your phone via USB, a window will appear asking if you trust the computer. Select the option to always trust this device and accept.
Getting Started with ADB: Checking Connection and Devices
With your phone connected and USB debugging enabled, run this command from Terminal:
adb devices
You should see a list with your device ID and status. deviceIf "unauthorized" appears or the list is empty, check your phone screen and accept the authorization, or repeat the steps above.
How to Install Android Apps (.apk) on Mac Using ADB
Here's how to install .apk files on your Android phone from your Mac:
- Download the .apk file you want to install and place it in an easy-to-locate folder, such as your Desktop.
- In Terminal, navigate to the folder where you have the .apk or type the full path to the file.
- With the phone connected, run:
adb install nombre_del_archivo.apk - If the file is in another folder, enter the full path:
adb install /Users/tuusuario/Desktop/miejemplo.apk
If the name or path contains spaces, remember to enclose the path in quotes, for example:
adb install "/Users/tuusuario/Escritorio/Mi Aplicación.apk"
More useful ADB commands and best practices
ADB It's not just for installing applications. Among the most practical and common commands are:
adb uninstall paquete.de.la.aplicacion: Removes an installed app.adb push archivo /sdcard/destino: Copy files from your Mac to the device’s internal storage.adb pull /sdcard/origen archivo_destino: Copy files from your phone to your Mac.adb reboot: Restart the device.adb reboot-bootloader: Reboots it into bootloader mode (for flashing or rooting).adb shell screencap -p /sdcard/screenshot.png: Takes a screenshot from the terminal.adb sideload archivo.zip: Flash official or custom manual updates.adb backup -f Backup.ab -apk -all: Back up apps and data (limited to app compatibility).
Please note that some commands may require root permissions on your phone, especially for advanced root or recovery actions.
Fastboot: Advanced Operations and Flashing
Fastboot is essential for those who want Unlock the bootloader, flash recoveries like TWRP, or modify the system partition.. You typically only need Fastboot if you plan to install custom ROMs or root your device.
fastboot devices: Lists devices connected in bootloader mode.fastboot oem unlock: Unlocks the bootloader (requires confirmation from the phone and erases all data).fastboot flash recovery archivo.img: Install a custom recovery (e.g. TWRP).fastboot reboot: Reboot the device after any process.
Using Fastboot is risky, especially if the steps are not followed correctly, as flashing incorrect files can render your device unusable. Always inform yourself well before touching anything in this regard..
Solutions to common problems when installing and using ADB on Mac
Some users are experiencing issues related to device detection or permissions. Let's see how to fix them:
- Make sure the USB cable you use is of good quality and supports data transfer, not just charging.
- If the command
adb devicesdon't show your phone, check phone notifications and accept USB debugging. - Check that the .apk file is in the correct path and that you have read permissions for it.
- Restarting both your Mac and phone can fix crashes or stuck permissions.
- If you're using a Mac with an Apple Silicon chip (M1/M2), Homebrew works natively, but be sure to install it according to the official website's instructions to avoid path conflicts.
Mirror your Android screen to your Mac: scrcpy
A tool highly appreciated by those who want to share or control their mobile screen from the Mac is scrcpyThis utility, also installable via Homebrew, allows you to view and manage the device in real time from your computer, relying on the pre-configured ADB connection.
- To install scrcpy, run:
brew install scrcpy - Activate USB debugging as before and connect the phone.
- Balance
scrcpyin the terminal. A window will open with your mobile screen, including sound on newer devices.
This tool is very useful for presentations, recording tutorials, usability testing, or simply for conveniently operating your phone without touching it.
Rooting Android Devices from Mac: Risks, Precautions, and Tools
Rooting Android devices from a Mac is an advanced process that allows you to unlock the full potential of your system, but it comes with significant risks: loss of warranty, possible permanent device lockouts, and exposure to security breachesBefore you jump in, consider whether you really need root and always make a full backup.
The most reliable tools in these cases are usually:
- TWRP as a custom recovery to install ROMs and root.
- Magisk to get root in a “clean” way, hiding root from sensitive apps.
- The Android SDK Platform-Tools to manage the entire unlocking and installation process.
The basic process is to unlock the bootloader (fastboot oem unlock), install TWRP (fastboot flash recovery twrp.img), and then use Magisk or SuperSU to root. Keep in mind that some methods, like KingoRoot, are designed for Windows and may require virtual machines on Macs, which complicates the process.
Always check compatibility between your device and the version of macOSEach model may have specific requirements, and some manufacturers even limit these operations.
Backup and restore
Before making any modifications or advanced installations, back up all your important data. While ADB allows for some backups, it's safest to back up to the cloud or move key files to your Mac using adb pull or specialized applications.
When restoring data after rooting or flashing, always follow the recommendations for each tool to avoid data loss.