A password will be e-mailed to you.

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 from here.

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 https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/install.sh)

and this command to uninstall Nexus Tools:

bash <(curl -s https://raw.githubusercontent.com/corbindavenport/nexus-tools/master/uninstall.sh)

Alternative Commands:

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

cd ~ && curl -s -o ./install.sh "http://github.com/corbindavenport/nexus-tools/raw/master/install.sh" -LOk && chmod +x ./install.sh && ./install.sh && rm ./install.sh

and to un-install:

cd ~ && curl -s -o ./uninstall.sh "http://github.com/corbindavenport/nexus-tools/raw/master/uninstall.sh" -LOk && chmod +x ./uninstall.sh && ./uninstall.sh && rm ./uninstall.sh

If you have an are have problems entering the command then download this zip archive, then extract and run install.sh. 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]


  • Android4.zip | File: Android4.zip / Android.zip (214.14KB)
  • Mirror | File: Android.zip (214 KB)

Installation Instructions:

  • Download the latest version of Android.zip file from above. This contains ADB and Fastboot files. Now place it on your desktop screen (location).
  • Now extract (unzip) the android.zip 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 ADB-Install-Linux.sh on Linux and ADB-Install-Mac.sh 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

sudo ADB-Install-Mac.sh

Note: You can also drag and drop the “ADB-Install-Mac.sh” 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

Related Posts:

Subscribe to Blog via Email

Join our mailing list to stay updated with Android.

Subscribe to new posts via Email

Like on Facebook: