Android Debug Bridge (ADB) is an essential tool for Android developers and power users. Whether you’re debugging apps, modifying system settings, or installing custom ROMs, ADB provides command-line access to Android devices. This guide walks you through installing ADB on Windows, macOS, and Linux.
What You’ll Need
Before starting, make sure you have:
- A computer running Windows 10/11, macOS 10.14+, or a modern Linux distribution
- At least 100MB of free disk space
- Administrator/root access for system-wide installation
- An internet connection to download Platform Tools
ADB is part of the Android SDK Platform Tools package, which Google maintains and updates regularly. You don’t need the full Android Studio installation—the standalone Platform Tools package includes everything you need.
Understanding Android SDK Platform Tools
Android SDK Platform Tools contains three main components:
ADB (Android Debug Bridge): The primary tool for communicating with Android devices. It handles device connections, file transfers, shell access, and app installations.
Fastboot: A protocol for writing data directly to your device’s flash memory. Essential for unlocking bootloaders, flashing system images, and recovery operations.
Other utilities: Additional tools like systrace, dmtracedump, and etc1tool for debugging and optimization.
💡 Pro Tip: The Platform Tools package is backward compatible—the latest version works with all Android devices, even older ones. You only need one version installed.
Installing ADB on Windows

Windows requires a few extra steps compared to macOS and Linux because USB drivers aren’t included by default.
Method 1: Direct Download (Recommended)
This method is fastest and doesn’t require Android Studio.
Step 1: Download Platform Tools
- Visit the official Android Developers site: developer.android.com/tools/releases/platform-tools
- Click “Download SDK Platform-Tools for Windows”
- Accept the license terms
- The download is a ZIP file (~15MB)
Step 2: Extract the Files
- Create a folder:
C:\platform-tools\ - Right-click the downloaded ZIP file
- Select “Extract All…”
- Choose
C:\as the destination - You’ll have
C:\platform-tools\containingadb.exe,fastboot.exe, and other files
Step 3: Add to System PATH
Adding ADB to your PATH lets you run adb commands from any directory.
- Press
Win + Xand select “System” - Click “Advanced system settings”
- Click “Environment Variables”
- Under “System variables”, find “Path” and click “Edit”
- Click “New”
- Add:
C:\platform-tools\ - Click “OK” on all dialogs
Step 4: Install USB Drivers
Windows needs drivers to recognize Android devices over USB.
For Google Pixels and Nexus devices:
- Download Google USB Driver: developer.android.com/studio/run/win-usb
- Extract and run the installer
For Samsung devices: Samsung devices work better with Samsung’s official drivers from developer.samsung.com/android-usb-driver
For other manufacturers: Most modern Android devices use generic ADB drivers that Windows installs automatically. If your device isn’t recognized, check your manufacturer’s website for USB drivers.
Step 5: Verify Installation
- Open Command Prompt (Win + R, type
cmd, press Enter) - Type:
adb version - You should see output like:
Android Debug Bridge version 1.0.41 Version 37.0.1-12345678
⚠️ Note: If you see “adb is not recognized”, restart Command Prompt or reboot your computer to refresh the PATH.
Installing ADB on macOS

macOS installation is simpler because USB drivers aren’t needed—macOS recognizes Android devices natively.
Method 1: Direct Download (Recommended)
Step 1: Download Platform Tools
- Visit developer.android.com/tools/releases/platform-tools
- Click “Download SDK Platform-Tools for Mac”
- Accept the license terms
- Download the ZIP file (~10MB)
Step 2: Extract and Move Files
- Open Terminal (Applications → Utilities → Terminal)
- Extract the downloaded file:
cd ~/Downloads unzip platform-tools-latest-darwin.zip
- Move to a permanent location:
sudo mv platform-tools /usr/local/
Step 3: Add to PATH
Edit your shell configuration file. For macOS 10.15+ (which uses zsh by default):
nano ~/.zshrc
Add this line at the end:
export PATH="/usr/local/platform-tools:$PATH"
Save and exit (Ctrl+O, Enter, Ctrl+X), then reload:
source ~/.zshrc
Method 2: Using Homebrew
If you use Homebrew package manager, installation is even simpler:
brew install android-platform-tools
Homebrew automatically handles PATH configuration. To update ADB later:
brew upgrade android-platform-tools
Installing ADB on Linux

Linux offers the most installation options. Choose based on your distribution and preference.
Method 1: Package Manager (Easiest)
Most Linux distributions include ADB in their repositories.
| Distribution | Command |
|---|---|
| Ubuntu/Debian | sudo apt update && sudo apt install android-tools-adb android-tools-fastboot |
| Fedora | sudo dnf install android-tools |
| Arch Linux | sudo pacman -S android-tools |
| openSUSE | sudo zypper install android-tools |
This method automatically configures PATH and keeps ADB updated through your system’s package manager.
Method 2: Direct Download
If you want the latest version directly from Google:
cd ~ wget https://dl.google.com/android/repository/platform-tools-latest-linux.zip unzip platform-tools-latest-linux.zip sudo mv platform-tools /usr/local/ echo 'export PATH="/usr/local/platform-tools:$PATH"' >> ~/.bashrc source ~/.bashrc
Set Permissions: Linux requires udev rules for non-root USB access:
sudo wget -O /etc/udev/rules.d/51-android.rules https://raw.githubusercontent.com/M0Rf30/android-udev-rules/main/51-android.rules sudo chmod a+r /etc/udev/rules.d/51-android.rules sudo udevadm control --reload-rules
Testing Your ADB Installation

Once installed, verify ADB works correctly:
Enable USB Debugging on Your Device
- Open Settings on your Android device
- Go to “About phone”
- Tap “Build number” seven times to enable Developer Options
- Go back to Settings → System → Developer Options
- Enable “USB debugging”
Connect and Test
- Connect your Android device via USB
- Run:
adb devices - On your device, accept the “Allow USB debugging?” prompt
- Check the “Always allow from this computer” box
- Tap “Allow”
Run adb devices again. You should see:
List of devices attached 1234567890ABCDEF device
Common Installation Issues
| Issue | Cause | Solution |
|---|---|---|
| “adb: command not found” | PATH not configured | Reload shell config: source ~/.bashrc or restart terminal |
| “adb is not recognized” (Windows) | PATH not set | Add C:\platform-tools\ to System PATH, restart Command Prompt |
| Device not detected (Windows) | Missing USB drivers | Install manufacturer-specific drivers (Google USB Driver, Samsung USB Driver) |
| “insufficient permissions” (Linux) | No udev rules | Install 51-android.rules, reload udev, replug device |
| “device unauthorized” | USB debugging prompt not accepted | Unlock device, accept “Allow USB debugging?” prompt |
| ADB server out of date | Multiple ADB versions | adb kill-server && adb start-server |
Installation Methods Comparison
| Method | Pros | Cons | Best For |
|---|---|---|---|
| Direct Download | Latest version, no Android Studio needed | Manual PATH setup, manual updates | Most users, one-time setup |
| Package Manager (Linux/macOS) | Auto PATH, auto updates, easy uninstall | May not be latest version | Linux/macOS users who want automated management |
| Android Studio SDK Manager | Auto updates, integrated with Studio | Requires full Android Studio install (~1GB+) | Android developers already using Android Studio |
| Homebrew (macOS) | One-line install, auto updates | Requires Homebrew installed | macOS users with Homebrew |
Keeping ADB Updated
Google updates Platform Tools every few months with bug fixes and new features. Staying current ensures compatibility with the latest Android devices.
Windows (Direct Download): Visit the Platform Tools page quarterly and download the latest version. Extract to replace old files.
macOS (Homebrew): brew upgrade android-platform-tools
Linux (Package Manager): sudo apt update && sudo apt upgrade android-tools-adb (Ubuntu/Debian) or sudo dnf upgrade android-tools (Fedora)
Next Steps
Now that ADB is installed, you can:
- Learn essential ADB commands for app installation, file transfer, and system control
- Set up wireless ADB to debug over WiFi without USB cables
- Explore advanced features like screen recording, logcat monitoring, and shell access
- Install custom ROMs using ADB and Fastboot
- Developer Tools: Compare GitHub Copilot, Cursor, and Claude Code for AI-assisted coding
ADB is the foundation for advanced Android customization and development. Master the basics, and you’ll unlock powerful control over your Android devices.
Related Guides:
- What is ADB? Android Debug Bridge Explained
- Essential ADB Commands Every Developer Should Know
- How to Set Up Wireless ADB Debugging on Android
- Common ADB Problems and How to Fix Them
Sources:
- Android SDK Platform Tools – Android Developers
- Android Debug Bridge (adb) – Android Developers
- How to Enable Android 15 Theft Protection and Private Space
Last updated: September 2, 2026
3 thoughts on “How to Install ADB on Windows, Mac, and Linux”