How To

How to Setup ADB and Fastboot on Mac OS, Linux, Chrome OS and Windows Easily

These two tools allow you to send terminal commands to your phone from your computer via USB. Android Debug Bridge (ADB): This tool allows you to send a wide array of terminal commands to your phone at just about any time; provided you have debugging enabled on your phone. On the other hand, Fastboot is used when you need to modify, update or flash your phone’s firmware. Fastboot allows you to send commands to the bootloader, which means you can flash/modify things like custom recoveries, stock firmware or factory images etc. So ADB and Fastboot are invaluable tools for almost every Android user. Without them, flashing a kernel or system image would be much more difficult or even impossible. This tutorial will install or setup ADB and Fastboot on Mac OS, Linux, Chrome OS and Windows PC.

If you don’t want to hassle with downloading the full Android SDK package, click few times, add ADB and Fastboot to $PATH, then just go through the following 2 simple methods to install ADB and Fastboot on your PC. If you are a Linux, ChromeOS, or Mac user, you may find a tool named NexusTool created by GitHub Member corbindavenport very useful. The Nexus Tools script automatically detects your OS, and then downloads and configures almost everything you need to use ADB on your machine. However, if you are missing a udev list, which makes the device “visible” for debugging, then get to this thread. Alternatively, you can use the method to and the package is also light weight and easy to use. For Windows OS users, simply download the quick ADB and Fastboot installer listed below.

Setup ADB and fastboot on Windows PC

In order to setup ADB and Fastboot on Windows PC quickly, the all you need to do is downlaod the 15 seconds ADB Installer v1.4.3 and run it on your PC. The setup will progress and ADB and Fastboot environment will be enabled all over the place. So you can open a cmd or Command Prompt anywhere and start USB debugging your Android device

Download 15 seconds ADB Installer for Windows
Dropbox link
Google drive link

How to Install ADB and Fastboot on Linux, Mac OS and Chrome OS Using NexusTool

Nexus Tools is an installer for the Android debug/development command-line tools ADB (Android Device Bridge) and Fastboot for Mac OS X and Linux. The script does not need to be downloaded, simply copy and paste this command into the terminal and run it to install ADB/Fastboot:

bash <(curl -s

and this command to uninstall Nexus Tools:

bash <(curl -s

Alternative Commands:

Alternatively, if you have errors with the above install command, you can try this one:

cd ~ && curl -s -o ./ "" -LOk && chmod +x ./ && ./ && rm ./

and to un-install:

cd ~ && curl -s -o ./ "" -LOk && chmod +x ./ && ./ && rm ./

If you have an are have problems entering the command then download this zip archive, then extract and run Nexus Tools requires sudo privileges to install/uninstall the adb and fastboot tools to /usr/local/bin, so they can be run without typing the full directory. Nexus Tools is licensed under the GPLv3 license, and the source code is at the GitHub project below.

Method 2: How to Setup ADB and Fastboot on Linux and Mac OS Quickly [iMac & MacBook]


  • | File: / (214.14KB)
  • Mirror | File: (214 KB)

Installation Instructions:

  • Download the latest version of file from above. This contains ADB and Fastboot files. Now place it on your desktop screen (location).
  • Now extract (unzip) the file by double clicking it and you will get a folder named “android” that contains multiple files. Files for both Mac OS and Linux.
  • You can simply run the on Linux and on Mac OS and the operation will automatically install it.
  • If you want to manually input commands, then open a new Terminal window on your Mac or Linux system. For Mac, you can search for it from Spotlight with ⌘-Space or find it in your Applications > Utility folder. For Linux, just type terminal in search.
  • In the terminal, type in the following command
cd Desktop/Android
  • To install ADB and Fastboot in Mac type in the following command

On Linux type


Note: You can also drag and drop the “” file onto your terminal screen.

That’s it. ADB and Fastboot are now successfully installed on your Mac. You can open Terminal anytime and enter ADB or Fastboot commands.

Source: GitHub, XDA