How to Install ADB on Windows, Mac, and Linux

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 terminal command line interface
Windows Command Prompt with ADB commands

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

  1. Visit the official Android Developers site: developer.android.com/tools/releases/platform-tools
  2. Click “Download SDK Platform-Tools for Windows”
  3. Accept the license terms
  4. The download is a ZIP file (~15MB)

Step 2: Extract the Files

  1. Create a folder: C:\platform-tools\
  2. Right-click the downloaded ZIP file
  3. Select “Extract All…”
  4. Choose C:\ as the destination
  5. You’ll have C:\platform-tools\ containing adb.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.

  1. Press Win + X and select “System”
  2. Click “Advanced system settings”
  3. Click “Environment Variables”
  4. Under “System variables”, find “Path” and click “Edit”
  5. Click “New”
  6. Add: C:\platform-tools\
  7. 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:

  1. Download Google USB Driver: developer.android.com/studio/run/win-usb
  2. 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

  1. Open Command Prompt (Win + R, type cmd, press Enter)
  2. Type: adb version
  3. 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

MacBook showing terminal with code
macOS Terminal with ADB installation

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

  1. Visit developer.android.com/tools/releases/platform-tools
  2. Click “Download SDK Platform-Tools for Mac”
  3. Accept the license terms
  4. Download the ZIP file (~10MB)

Step 2: Extract and Move Files

  1. Open Terminal (Applications → Utilities → Terminal)
  2. Extract the downloaded file:
    cd ~/Downloads
    unzip platform-tools-latest-darwin.zip
  3. 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 terminal with command prompt
Linux terminal showing ADB installation commands

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

USB cable connection between devices
USB connection verification

Once installed, verify ADB works correctly:

Enable USB Debugging on Your Device

  1. Open Settings on your Android device
  2. Go to “About phone”
  3. Tap “Build number” seven times to enable Developer Options
  4. Go back to Settings → System → Developer Options
  5. Enable “USB debugging”

Connect and Test

  1. Connect your Android device via USB
  2. Run: adb devices
  3. On your device, accept the “Allow USB debugging?” prompt
  4. Check the “Always allow from this computer” box
  5. 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:


Sources:

Last updated: September 2, 2026

3 thoughts on “How to Install ADB on Windows, Mac, and Linux”

Leave a Comment