Install ADB & Fastboot on Mac OS X

Here is a simple script to install the latest version of the Android Debug Bridge (ADB) and Fastboot on your Mac OS X computer. Also, following this guide will fix the ADB connection issue that lists your Android phone as being Offline.

To install ADB & Fastboot
1. Download the latest ADB-Fastboot-Mac zip folder here.
2. Extract the ADB-Fastboot-Mac zip folder.
3. Launch Terminal.
4. Drag and drop the ADB-Install-Mac.sh script into Terminal and click enter. *Wait a few seconds until the script completes.
5. Restart Terminal.

To Uninstall ADB & Fastboot
1. Launch Terminal.
2. Drag and drop the ADB-Uninstall.sh script into Terminal and click enter. *Wait a few seconds until the script completes.
3. Restart Terminal.

To Update ADB & Fastboot
1. Uninstall ADB & Fastboot (follow the steps above to uninstall)
2. Install the latest version of ADB & Fastboot (follow the steps above to install)

Notes: As of February 24, 2017, the latest version of ADB is 1.0.36.

*We updated the script, but credit to kalaker for actually creating it.