menuMaxLock Website
keyboard_arrow_up

Install adb on your Computer

Table of contents

  1. What is adb?
  2. Install on a Windows or a Mac
  3. Install on a Linux OS
  4. Using the adb

1. What is adb?

adb is a short for Android Debug Bridge. It serves a purpose, like its name, for debugging purposes. ADB is very useful for power users as you can control every aspect of your Android, similar to how you control a Linux OS on a computer. To use adb, it will require a terminal window.

2. Install on a Windows or a Mac

To avoid rewriting the same book, you will need to follow external links.

Install for WindowsInstall for Mac

3. Install on a Linux OS

3.1. Ubuntu-based Distro

If you are using a Linux operating system, the installation process is very easy for a distro that is Ubuntu-based.

Simply run your software manager and search for "android-adb-tools". Install that package. To test, open up a terminal window and execute adb version. This will yield the current installed version of the adb.

Alternatively, running sudo apt-get install android-adb-tools from the terminal window will do the same thing as well.

3.2. Any Linux Distro

If you are running Ubuntu but doesn't want to follow the above method, or you are using another Linux distro, you can still install the adb but from the official website.

To avoid rewriting the same book, here's a link (external link) for you to follow. Have fun!

4. Using the adb

If you follow the guides in the links properly, you will have your adb executable PATH environment set. With this advantage, you can call the adb function in a terminal window without having to cd into a directory that contains the adb executable. Yes, this sounds techy, it is okay if you do not understand.

Since you have PATH environment set, all you need to is open a terminal / cmd window, and then type in adb devices to see if your device is detected.

You can then proceed to explore the adb functions by typing in adb help. One most used feature is the adb shell command. This command allows you to open a terminal shell mode for your Android device itself!