Install ADB on Windows, macOS, and Linux

Install ADB on Windows, macOS, and Linux
Advertisement
Trust this source on GoogleAlways see our reviews and tech guides first in search results
Add trusted source

There will be a lot of guides on Droid Tools about how to access certain features of the Android platform that simply are not visible to the user. 

Theese will be done generally with the help of some command line Android Debug Bridge (ADB) commands, a tool that Google offers for developers to debug various parts of their applications or the system, but which we can use for all kinds of neat and hidden tricks. Using the command line isn’t something that everyone is comfortable with, though, so in an attempt to teach everyone how to do these tweaks (no matter what skill level you’re at), we have been including some basic steps about how to install ADB in each of our tutorials where necessary.

Setup the Android Debug Bridge (ADB)

Phone Setup

  • Launch the Settings application on your phone.
  • Tap the About Phone option generally near the bottom of the list (this is hidden behind the “System” option in Google’s latest Android Oreo version).
  • Then tap the Build Number option 7 times to enable Developer Mode. You will see a toast message when it is done.
  • Now go back to the main Settings screen and you should see a new Developer Options menu you can access.
  • Go in there and enable the USB Debugging mode option.

Next up, you will need to scroll below and follow the rest of the instructions for your operating system.

Windows 10 ADB Setup

  • Download the ADB ZIP file for Windows
  • Extract the contents of this ZIP file into an easily accessible folder (such as C:\adb)
  • Open Windows explorer and browse to where you extracted the contents of this ZIP file
  • Then open up a Command Prompt from the same directory as this ADB binary. This can be done by holding Shift and Right-clicking within the folder then click the “open command prompt here” option. (Some Windows 10 users may see “PowerShell” instead of “command prompt”.)
windows adb
Windows ADB folder
  • Connect your smartphone or tablet to your computer with a USB cable. Change the USB mode to “file transfer (MTP)” mode. Some OEMs may or may not require this, but it’s best to just leave it in this mode for general compatibility.
  • In the Command Prompt window, enter the following command to launch the ADB daemon: adb devices
  • On your phone’s screen, you should see a prompt to allow or deny USB Debugging access. Naturally, you will want to grant USB Debugging access when prompted (and tap the always allow check box if you never want to see that prompt again).

Finally, re-enter the command adb devices. If everything was successful, you should now see your device’s serial number in the command prompt. 

Advertisement

Install ADB on macOS

  • Download the ADB ZIP file for macOS
  • Extract the ZIP to an easily-accessible location (like the Desktop for example).
  • Open Terminal.
  • To browse to the folder you extracted ADB into, enter the following command: cd /path/to/extracted/folder/
  • For example, on my Mac it was this:cd /Users/Doug/Desktop/platform-tools/
  • Connect your device to your Mac with a compatible USB cable. Change the USB connection mode to “file transfer (MTP)” mode. This is not always required for every device, but it’s best to just leave it in this mode so you don’t run into any issues.
  • Once the Terminal is in the same folder your ADB tools are in, you can execute the following command to launch the ADB daemon: adb devices
  • On your device, you’ll see an “Allow USB debugging” prompt. Allow the connection.
  • Finally, re-enter the command adb devices. If everything was successful, you should now see your device’s serial number in macOS’s Terminal window. Congratulations! You can now run any ADB command on your device! Now go forth and start modding your phone by following our extensive list of tutorials!

Install ADB on Linux

  1. Download the ADB ZIP file for Linux
  2. Extract the ZIP to an easily-accessible location (like the Desktop for example).
  3. Open a Terminal window.
  4. Enter the following command: cd /path/to/extracted/folder/
  5. This will change the directory to where you extracted the ADB files.
  6. So for example:cd /Users/USER/Desktop/platform-tools/
  7. Connect your device to your Linux machine with your USB cable. Change the connection mode to “file transfer (MTP)” mode. This is not always necessary for every device, but it’s recommended so you don’t run into any issues.
  8. Once the Terminal is in the same folder your ADB tools are in, you can execute the following command to launch the ADB daemon: adb devices
  9. Back on your smartphone or tablet device, you’ll see a prompt asking you to allow USB debugging. Go ahead and grant it.
  10. Finally, re-enter the command adb devices. If everything was successful, you should now see your device’s serial number in the Terminal window output. Congrats! You can now run any ADB command on your device! Now go forth and start modding your phone by following our extensive list of tutorials!

Some Linux users should be aware that there can be an easier way to install ADB on their computer. The guide above will certainly work for you, but those own a Debian or Fedora/SUSE-based distro of Linux can skip steps 1 and 2 of the guide above and use one of the following commands. . .

  • Debian-based Linux users can type the following command to install ADB: sudo apt-get install adb
  • Fedora/SUSE-based Linux users can type the following command to install ADB: sudo yum install android-tools
Recommended Deals
1 / 5
Google Pixel Watch 5 (45mm)

Google Pixel Watch 5 (45mm)

5.0
👑A good choice
Apple iPhone 17 Pro

Apple iPhone 17 Pro

4.8
$1,012.97$1,099.00-8%
Buy on Amazon
💎Best Android Device
Samsung Galaxy S26 Ultra

Samsung Galaxy S26 Ultra

4.9
$1,212.85$1,499.99-19%
Buy on Amazon
DEAL
Google Pixel 11 Pro

Google Pixel 11 Pro

5.0
1,099.00$1,299.00-15%
Buy on Amazon
Samsung Galaxy Watch 8

Samsung Galaxy Watch 8

4.9
$289.99$349.99-17%
Buy on Amazon
* As an Amazon Associate, Droid Tools earns from qualifying purchases. Read our editorial policy
Robert Haba
Robert HabaFounder · Editor-in-Chief

Robert Haba is the founder and editor-in-chief of Droid Tools. A lifelong gadget enthusiast with over a decade following the Android ecosystem, he built this publication to cut through the noise and give readers honest, real-world coverage of the tech they actually use.

Advertisement

Comments & Discussions

Join the conversation! We use Disqus to handle comments. Click the button below to load the comment section.

Advertisement
More Stories

Keep Reading

Google Tensor G6 powers Pixel 11 with faster AI and 4K Portrait Video

Google Tensor G6 is the custom processor powering the Pixel 11 series and Pixel 11 Pro Fold, with Google prioritizing energy efficiency and on-device AI over benchmark-leading specifications. The chip brings an upgraded CPU, a faster TPU, a new ISP, and a custom modem, enabling features that include 4K Portrait Video, Instant Night Sight, and […]

google tensor g6 performance improvements

Google Pixel HiLight brings call and Gemini alerts to Pro models

Google Pixel HiLight is the official name of the ambient LED system built around the camera flash on Google’s new Pro phones. Previously known through leaks as Pixel Glow, the feature can show favorite-contact calls and Gemini activity while the phone remains face down. It is exclusive to the Pixel 11 Pro, Pixel 11 Pro […]

HiLight on google pixel pro

Google Assistant Shutdown Begins September 4 as Gemini Takes Over

Google will begin shutting down Google Assistant on Android phones starting September 4, moving users over to Gemini as the company's default mobile voice assistant. The change comes via an email Google has started sending to users, as reported by Ars Technica. Rollout Will Happen Gradually The transition won't happen for everyone on the same […]

google assistant close

Pixel 11 Series Launch Date Set for August 12: What to Expect

Google is set to unveil its Pixel 11 series on August 12, with the Pixel 11, Pixel 11 Pro, Pixel 11 Pro XL, and Pixel 11 Pro Fold expected to headline the company's annual hardware event. Google is also expected to announce the Pixel Watch 5 and could introduce the Pixel Tag, its first Bluetooth […]

google pixel 11 lineup