How To Install Adb For Android In Mac

Both ADB and Fastboot tools are from Google Android. Those tools are used to send commands from your computer to Android device. Those tools are mainly used for developing purposes. Before installing ADB and Fastboot you may like to know more about them. Let’s see what they are.

How To Install Adb For Android In Mac

What is ADB ?

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. There are several ways to install adb driver on Window, Mac computer. Most of the people using the Android SDK based method. That method takes a few minutes to complete and its need to follow several steps. Now we can easily install android adb drivers on Windows and Mac computer. This tutorial i use PadNet USB tethering application.

ADB stands for Android Debug Bridge. This tool consist of client and server part, communicate with each other. Simply ADB tool is a communication tool between your smartphone and PC. Communication is mostly done via USB. You can also connect your device using WiFi too. Using ADB we can send commands using command prompt(Ex: CMD, powershell, terminal) to Android device. This tool comes with numerous functions that are described in detail by the command adb –help. This tool support Windows, Linux and Mac. ADB is very helpful for rooting, flashing new ROMs or simply troubleshooting smartphones.

What is FastBoot ?

Fastboot is a more powerful tool than ADB and it works only in bootloader/fastboot mode. Using this tool you can modify the file system images from a computer over a USB connection. It allows you to re-flash system partitions on your Android device and requires a device with an unlocked bootloader. Not all phones have a fastboot mode that the user can access. It’s turned on with Nexus devices by default (as well as a few other phones and tablets). Fastboot runs on Windows, Mac, and Linux. You can boot your phone to fastboot and you can flash image files to your phone’s internal memory.

Installing ADB and FastBoot

Select your platform to install ADB and FastBoot.

Install ADB and FastBoot on Windows 7/8

Download platform tools for Windows

    1. Extract it. In my case I have extract it in Desktop. path Desktopadb-fastboot
    2. Now we have to add that path to Environment variable to use it in command prompt.
      1. From the desktop, right-click My Computer and select Properties
      2. In the System Properties window, click on the Advanced tab
      3. In the Advanced section, click the Environment Variables button
      4. In the Environment Variables window, highlight the Path variable in the Systems Variable section and click the Edit button
      5. Append ;Desktopadb-fastbootplatform-tools to the end of the existing Path definition (the semi-colon separates each path entry)
    3. Reboot.

Install ADB and Fastboot on Windows 10

Download platform tools for Windows

How To Install Adb For Android In Mac Operating System

  1. Extract it. In my case I have extract it in Desktop. path Desktopadb-fastboot
  2. Now we have to add that path to Environment variable to use it in command prompt.
    1. Open the Start menu, and type “advanced system settings”
    2. Select “View advanced system settings”
    3. Click on the Advanced tab
    4. Open the “Environment Variables” window
    5. Select the Path variable under “System Variables” and click the “Edit” button
    6. Click the “Edit Text” button
    7. Append ;%USERPROFILE%adb-fastbootplatform-tools to the end of the existing Path definition (the semi-colon separates each path entry)
  3. Reboot.

Install ADB and Fastboot on macOS

Download tools for MacOS

  1. Open up a Terminal window by navigating to Applications/Utilities or searching for it in Spotlight.
  2. Enter the following command to open up your Bash profile: touch ~/.bash_profile; open ~/.bash_profile
  3. The .bash_profile file should open in your default text program.
  4. Add this line to the end of the file: export PATH=”$HOME/[FOLDERNAME]/bin:$PATH” replacing [FOLDERNAME] with the location where you extracted ADB and fastboot.
  5. Save the file and press Cmd+Q to quit your text editor.
  6. In your terminal enter source ~/.bash_profile to run your Bash profile for the first time.

Install ADB and Fastboot on Linux

How To Install Adb For Android In Macbook

Download tools for Linux

How To Install Adb For Android In Mac
  1. Extract it somewhere – for example, ~/adb-fastboot.
  2. Add the following to ~/.profile:
  3. Log out and back in.

Connect Android device with Computer using ADB

To use adb with your device, you’ll need to enable developer options and USB debugging. Trouble enabling debugging options. Click here for how enable USB debugging with picture guide.

  1. Open Settings, and select “About”.
  2. Tap on “Build number” seven (7) times.
  3. Go back, and select “Developer options”.
  4. Scroll down, and check the “Android debugging” entry under “Debugging”.
  5. Plug your device into your computer.
  6. On the computer, open up a terminal/command prompt and type adb devices.
  7. A dialog should show on your device, asking you to allow usb debugging. Check “always allow”, and choose “OK”.

How To Install Adb For Android In Mac Download

Struggling to run adb command on your terminal in Mac? You have come to the right place. Android Debug Bridge (adb) is a powerful tool which lets us communicate with our android device. It is great tool to install and debug your android app. Let's get started!

Open your terminal and navigate to the Home directory by running the following command:

After that we need to open .bash_profile file so that we can add our adb tool to the global path.

Add the following line to the bottom of the file to add Android platform tools to the environment PATH.

Mac

Here replace Shashwat with your own Mac username. And that's pretty much it. Now save this file. Close and re-open the terminal and type the following command to see if adb is working:

You will see a similar output on the terminal:

Adb Drivers Mac

Happy coding!