How to set up ADB and Fastboot on Mac

BY Rajesh Pandey

Published 13 Nov 2015

Android Marshmallow

For some reason, there is a popular belief among the Android community that installing and setting up ADB and Fastboot on a Mac is a very cumbersome process. The truth, however, is the exact opposite. It is significantly easier to setup ADB/Fastboot on a Mac when compared to a Windows based PC.

In fact, I now actually prefer to root Android devices on a Mac since it usually involves less headache. There are quite a few reasons behind this, including the fact that you can issue fastboot and ADB commands to a majority of the Android devices on a Mac without worrying about their drivers. On Windows though, it is impossible to execute a fastboot command without installing the drivers first as the PC will not be able to see the device itself.

ADB Android logo

Various guides on the Internet will recommend you to download the Android SDK manager to get ABDB running on your Mac. However, if you only want to use ADB/Fastboot to unlock the bootloader of your device and root it, there is no need to download the 400MB+ SDK.

Follow the steps below and you will be able to get ADB and Fastboot up and running on your Mac in less than 15 mins with hardly any effort.

Step 1: Open up Terminal on your Mac and execute the follow command:

ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

This will install Homebrew on your Mac, which is necessary for installing ADB and fastboot via the method mentioned in this guide.

ADB Mac

Step 2: You will be prompted to download Xcode or only install the necessary files to run the commands properly. Select the ‘Install’ option and wait for the download to finish. If you already have Xcode installed on your Mac, you will not get any such dialog box.

Step 3: Once the necessary files are downloaded, you will need to enter the password of your local Mac account in Terminal so that the files can be installed successfully.

Brew for Mac

Step 4: After brew is installed, proceed to run the following command:

brew install android-platform-tools

This will download and install the very latest version ADB and fastboot files on your Mac. Depending on the speed of your Internet connection, this step can take anywhere between a few seconds to a few minutes.

You can verify that ADB and fastboot are installed on your Mac by running the “adb version” command.


Next time you need to run an ADB or fastboot command, simply open up terminal and execute the ADB or Fastboot command you want to run straightaway. There is no need to navigate to any particular folder or directory before doing so. A major advantage of following the above steps to get ADB and Fastboot on your Mac is that they will be updated to their latest version automatically.

The only gripe with this method is that you will have to repeat it every time you upgrade the OS X version on your Mac — even to a minor OS X 10.11.x release.

If you are facing any trouble in getting ADB/Fastboot to run on your Mac, drop in a comment below and we will help you out.