Skip to content

ADB installation guides

Windows

Option 1: Manual setup (Official SDK Platform-Tools)

  1. Download Platform-Tools: Download the SDK Platform-Tools for Windows zip archive from the official Android Developer website.

  2. Extract the folder: Extract the zip file to a permanent location on your PC (for example, C:\platform-tools).

  3. Open Environment variables:

  4. Press the Windows key, type Environment variables, and select Edit the system environment variables.
  5. Click the Environment Variables... button at the bottom right.

  6. Edit the Path variable:

  7. Under User variables (or System variables), select the Path variable and click Edit....
  8. Click New, and paste the full folder path where adb.exe is located (e.g., C:\platform-tools).
  9. Click OK on all open dialog windows to save the changes.

  10. Verify installation:

Open a brand-new Command Prompt or PowerShell window (or restart your current terminal), and run:

```
adb version
```

Option 2: Using a package manager

  1. Open PowerShell as an Administrator and run either:

  2. Winget:

    winget install Google.PlatformTools
    

  3. Chocolatey:

    choco install adb
    

  4. Restart your terminal window to apply the path changes, then verify installation:

Open a brand-new Command Prompt or PowerShell window (or restart your current terminal), and run:

adb version

macOS

  1. Install Homebrew (if not already installed):

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    
  2. Install Android Platform Tools:

    brew install android-platform-tools
    
  3. Verify installation:

    adb version
    

Option 2: Manual setup

  1. Download Platform-Tools: Download the SDK Platform-Tools for Mac from the official Android Developer website.

  2. Move the folder: Extract the zip and move the platform-tools directory to your user home folder:

    mv ~/Downloads/platform-tools ~/platform-tools
    
  3. Add to PATH in shell profile: Add the path to your shell configuration file (~/.zshrc for default macOS zsh, or ~/.bash_profile if using Bash):

    echo 'export PATH="$HOME/platform-tools:$PATH"' >> ~/.zshrc
    
  4. Apply changes and verify:

    source ~/.zshrc
    adb version