Setup ADB and Fastboot on Mac OS Linux and Chrome OS and Windows

Update: Google officially released the ADB and Fastboot. There is a new tutorial for ADB and Fastboot setup for Windows, Linux, and Mac OSย now available. 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. This tutorial will install or setup ADB and Fastboot on Mac OS, Linux, Chrome OS and Windows PC.

If you donโ€™t want to download the complete Android SDK packages just to get ADB and Fastboot, then here are 2 simple methods like 15 second quick Installer for ADB and Fastboot on your PC. If you are on a Linux, ChromeOS, or Mac machine, 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.

How to easily Install/Setup ADB and Fastboot on Windows, Mac OS, Linux?

There are multiple ways to install

Download and install a 15 Second ADB and Fastboot Installer: (Exclusively for Windows)

In order to setup ADB and Fastboot on Windows PC quickly, the all you need to do is download the 15 seconds ADB Installer listed below, run the EXE file on your PC. The setup will progress and ADB and Fastboot environment will be enabled across the Windows installation. So you can open a Command Prompt (cmd) anywhere and start using ADB commands ad well as Fastboot commands anywhere. USB debugging your Android device

Downloadย 15 seconds ADB Installer for Windows

You can download the latest ADB and Fastboot binaries using these links. These download links will remain static, but Google will periodically update the referenced file with the latest binaries as they go live.

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 "https://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 "https://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]

You can download the latest ADB and Fastboot binaries using these links. These download links will remain static, but Google will periodically update the referenced file with the latest binaries as they go live.

Downloads:

  • 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
./ADB-Install-Mac.sh

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


Sarang Avatar

2 responses


  1. How to Unlock Bootloader on Verizon Galaxy Note 4, Root and Install TWRP

    […] Fastbootย download the quick ADB and Fastboot Installer fromย hereย for Windows users and easily setup ADB and Fastboot on Mac OS, Linux or Chrome OS from here. You may also like Universal ADB drivers, Naked ADB […]

  2. How to Unlock Bootloader on LG G5 Install TWRP and Root

    […] and Fastbootย download the quick ADB and Fastboot Installer fromย hereย for Windows users or easily setup ADB and Fastboot on Mac OS, Linux or Chrome OS from here. You may also like Universal ADB drivers, Naked ADB […]

Leave a Reply