How to install ADB and Fastboot
Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debugging apps.
Step 1: Download Android SDK Platform Tools
-
Open your web browser and visit the official Android SDK Platform Tools download page:
-
Scroll down to find the “Downloads” section.
-
Click the “Download SDK Platform-Tools for Windows” link to download the ZIP file containing ADB and other tools.
Step 2: Extract the ZIP File
-
Locate the downloaded ZIP file (e.g., “platform-tools_r32.0.0-windows.zip”) in your computer’s Downloads folder.
-
Right-click the ZIP file and select “Extract All”.
-
Choose a destination folder where you want to extract the files, and click “Extract” This will create a folder containing the ADB and other tools.
Step 3: Copy the ADB Folder Path
-
Navigate to the folder where you extracted the contents of the ZIP file. This folder should contain the “adb.exe” file.
-
Click on the folder’s address bar at the top. It will display the full path to the folder. Copy.
Step 4: Add ADB Path to Environment Variables
-
Type “Environment Variables” in the Windows search bar and select “Edit the system environment variables”.
-
In the “Advanced” tab, click the “Environment Variables…” button at the bottom right.
-
In the “Environment Variables” window, under the “System variables” section, locate the “Path” variable, and select it.
-
Click the “Edit” button.
Step 5: Add ADB Path
-
In the “Edit Environment Variable” window, click the “New” button.
-
Paste the ADB folder path you copied earlier into the input field.
-
Click “OK” to close each of the windows.
Step 6: Verify ADB Installation
-
Open Command Prompt (cmd), PowerShell or Windows Terminal.
-
Type “adb” and press Enter.
-
You should see ADB commands and options displayed, indicating that ADB is successfully installed and configured.