How to configure and install ADB and Fastboot on Windows PCs
If you are an experienced Android user, you might have heard of using Android Debug Bridge (ADB). You can use it to access certain features or control your phone from your PC. It is primarily a tool that Google offers developers to debug specific applications or the entire system itself. You can also configure and install the ADB and fastboot platform tools on your PC.
There are several ways to do the initial setup of ADB and Fastboot platform tools. Likewise, you can install it manually and add it to the PATH variable or use a multi-application installer like Chocolatey for a streamlined process.
How to configure and install ADB and Fastboot
In the following Windows guide, we will configure the ADB and Fastboot platform tools by installing them and adding them to the PATH system variable. Here are two ways to do the same.
To note: Adding ADB and Fastboot platform tools to PATH is not mandatory but an essential step because by doing this you can access ADB from any directory on your Windows PC.
Method 1: Use Chocolatey to configure and install ADB
Chocolatey is a popular multi-application installer that contains the ADB platform-tools package in its repository. You can install ADB transparently by automatically adding the ADB and Fastboot platform tools to the PATH variable.
1. Make sure to download and configure Chocolatey if you haven’t already.
2. From the Start menu, find “cmd” and right-click on Command Prompt, then select the “Run as administrator” option.
3. In the Command Prompt interface, enter the following syntax:
choco install adb -y
4. Chocolatey will now install the ADB platform-tools package on your system and add it to the PATH. Close the Command Prompt window once it is complete.
5. Finally, enable developer options on your Android device and enable USB debugging. Additionally, launch a command prompt interface from any directory on your PC and type the command “adb devices”.
This concludes the ADB installation process through Chocolatey. Using Chocolatey is not only convenient, but also a safer option if you don’t want to tamper with the PATH variable yourself.
Method 2: Install ADB and Add it to PATH Manually
You can manually download and configure the ADB platform tools by adding them to the PATH system variable. Note that you will need administrator access to change the PATH. With that said, let’s take a look at the process.
1. Download the latest SDK Platform Tools for Windows package from this website.
2. Extract the contents of the downloaded zip file to a folder on your system.
3. Now open the start menu and search for “environment variables” and select the first option.
4. In the newly opened window, select the “Environment variables” option.
5. Find a variable called “Path” and double-click on it.
6. In the correct set of options, click New, then click Browse (This is to make sure that you are not overwriting any existing directories).
7. Now open the folder which contains the extracted content from the platform tools zip that you downloaded earlier. Select the folder and press OK to close the window.
8. Finally, enable developer options on your Android device and enable USB debugging. Additionally, launch the command prompt interface from any directory on your PC and type the command “adb devices”.
This concludes the process of setting up the ADB and Fastboot platform tools on your Windows PC. You should now be able to run all ADB and Fastboot commands on your Android device from any directory on your system.