AndroidHow To!

Install ADB on macOS using homebrew?

What is ADB, and how to install it?

The Android Debug Bridge (ADB) || The name itself specifies the meaning of ADB. In this article, we will discuss how to install ADB on macOS. It’s the tool used by developers for debugging Android devices. The normal users can also use it too, which sounds interesting. It’s done over the USB connection or by Wi-Fi.

Installing ADB by homebrew is the easiest way than the manual installation. So, read the whole article until the end.

It allows your Android device to communicate with your personal computer. You may also hear about flashing the custom ROMs in Android devices. That is also done by using ADB.

What is homebrew, and how to install it?


Homebrew is a package manager for macOS and Linux operating systems. Max Howell wrote it in 2009. It is also called the “missing package manager for macOS and Linux.” It is also an open-source package manager, which means you can install it freely.

You need to install command-line tools for Xcode before installing Homebrew on macOS, but only if you’ve not installed Xcode IDE from App Store.

Installing homebrew through terminal

Now, you can install homebrew package manager by typing command in the terminal as shown below.

/bin/bash -c "$(curl -fsSL"
install adb on macOS
Homebrew installation command
install adb on macOS
Asking for password
  • When you hit the ENTER button, then it will ask you for the user account password. ENTER your user account password and hit ENTER. This is because it needs root permission.
install adb on macOS
Install or abort the installation
  • When you hit ENTER after typing the password, it will ask “Press RETURN to continue or any other key to abort,” which means press ENTER to install or abort the installation by entering any other key. Hit ENTER, and it will start downloading the necessary files.
install adb on macOS
Downloading homebrew

Installing ADB and Fastboot on macOS

  • Make sure you have at least 1-2GB of data because the files are large in size. When homebrew is installed, you can ENTER the command to install the ADB and Fastboot as given below. kode aktivasi avast premier
brew cask install android-platform-tools
install adb on macOS
ADB and Fastboot installation command
  • Hit ENTER and this will install ADB and Fastboot into your macOS.
adb installed 2 1

Testing ADB and Fastboot

  • To check if the ADB and Fastboot are installed on your macOS, you need to connect your android device.
  • Use a data cable to connect your android device with your personal computer.

Note: ADB works only if the “USB debugging” is enabled on your android device.

  • system
  • developer settings
  • dev mode on
  • usb debugging on
  • To enable USB debugging, go to ‘System settings’ on your android device.
  • Open ‘System’ and select ‘Developer options.’
  • If ‘Developer options’ are disabled, then turn them on.
  • Inside the ‘Developer options,’ find the ‘USB debugging’ option and turn it on.

Now, come to your computer and open terminal. Type ‘adb devices‘ and hit ENTER.

install adb on macOS
ADB devices testing

You can see your android device’s ‘serial number‘ below the ‘list of devices attached.’ This means that ADB is working in your macOS. Now you can do things that are possible through ADB. If you have any questions, then feel free to drop the comment below. We are here to help.

Judah's Leon

Elect in Christ, justified & saved by the sovereign grace of God, in the sanctification to be glorified. A pilgrim in the momentary cosmos.

Related Articles

Check Also
Back to top button