In our previous article, we looked at what the Android Debug Bridge (ADB) is and how it unlocks hidden power features on your phone—like deleting unremovable bloatware, rescuing a broken power button, and creating deep system backups.
But before you can start sending commands to your phone, you need to set up ADB on your computer. Because ADB is incredibly lightweight, you don’t need to install a massive, slow software suite. You just need a tiny bundle of official files from Google called Platform Tools.
Whether you are running Windows, macOS, or Linux, here is exactly how to get ADB up and running in less than five minutes.
Method 1: The Manual Approach (All Operating Systems)
This is the official method recommended by Google. It involves downloading the core files and opening your command line tool directly inside that folder.
1.Download the Official ZIP File:All Platforms.
Download the official, trusted SDK Platform-Tools package directly from Google for your respective operating system:
- Download Platform-Tools for Windows
- Download Platform-Tools for macOS
- Download Platform-Tools for Linux
2.Extract the Folder:Organize your files.
Unzip the downloaded file. Move the extracted platform-tools folder to an easy-to-find location on your computer.
- Tip for Windows: Move it straight to your C: drive (e.g.,
C:\platform-tools) to keep the file path short and simple.
3.Open Your Command Line:Terminal or Command Prompt.
Open your system’s command line application. On Windows, open the Start Menu, type cmd, and open Command Prompt. On Mac and Linux, open the Terminal app.
4.Point the Terminal to the Folder:Navigating directories.
Use the cd (change directory) command to point your terminal directly to the folder you just extracted. For example:
- Windows:
cd C:\platform-tools - Mac/Linux:
cd ~/Downloads/platform-tools
Method 2: The Fast Track (Using Package Managers)
If you are comfortable using code terminals and prefer not to deal with zip files and manual folders, you can install ADB globally using a single command. This method configures your system automatically, allowing you to run ADB commands from any folder on your computer instantly.
🪟 Windows (via Chocolatey)
If you utilize the Windows package manager Chocolatey, open your Command Prompt or PowerShell as an Administrator and run:
PowerShell
choco install adb
🍏 macOS (via Homebrew)

Mac users can install ADB instantly using Homebrew. Open your Terminal application and paste the following:
Bash
brew install android-platform-tools
🐧 Linux (via Native Repositories)
Most Linux distributions host ADB directly in their native software repositories. Open your terminal and run the command that matches your layout:
- Ubuntu / Debian / Linux Mint:Bash
sudo apt update && sudo apt install android-tools-adb android-tools-fastboot
* **Fedora / RHEL:**
```bash
sudo dnf install android-tools
- Arch Linux:
sudo pacman -S android-tools
The Ultimate Test: Verifying Your Connection
Now that the software is on your computer, it's time to verify that your computer and your phone can actually talk to each other.
1. Grab your Android phone and ensure **USB Debugging** is turned on (found inside *Settings > Developer Options*).
2. Connect your phone to your computer using a high-quality USB data cable.
3. Open your terminal or command prompt (if you used Method 1, make sure you have `cd`'d into your platform-tools folder).
4. Type the connection command and press Enter:
```bash
adb devices
(Note: On macOS and Linux manual setups, you may need to add ./ to target the local file: ./adb devices)
Watch Your Phone Screen!
The moment you hit Enter, a security prompt will pop up on your Android screen asking: “Allow USB debugging?”
Check the box that says “Always allow from this computer” and tap Allow.
Success Check: Look back at your computer screen. If everything is configured correctly, your terminal will display a sequence of random numbers and letters followed by the word “device”.
If you see that sequence, the bridge is officially open. You are now ready to start tweaking, cleaning, and optimizing your Android phone using deep-system commands!