285 words
1 minutes
Install Android Platform Tools
This isn’t a fully encompassing guide, but should be enough to get access to ADB and Fastboot.
If you’d like to help me financially towards build servers, more test devices, or grab a coffee, feel free to check out my Ko-Fi and Github Sponsors! Either way, thankyou for checking out the guide!
Linux
Via Package Manager
Note: May not be the latest version due to packaging delays depending on your distro.
If you have issues with insufficient permissions or such, you may need to setup udev rules, the instructions in the M0Rf30/android-udev-rules repo should suffice for most distros.
Fedora / RHEL / AlmaLinux / Rocky Linux
sudo dnf install android-tools
Ubuntu / Debian / Pop!_OS/ Linux Mint (Or any other Debian/Ubuntu based distro)
sudo apt update
sudo apt install google-android-platform-tools-installer
Arch Linux / Manjaro / EndeavourOS
sudo pacman -S android-tools
openSUSE
sudo zypper install android-tools
Gentoo
You use Gentoo. Figure it out.
Manually (Always Latest)
- Go to the platform-tools page on the Android Developer website.
- Click the
Download SDK Platform-Tools for Linuxand agree to the terms. - Unzip the resulting
.zipfile and place it wherever you like. (I prefer /home) - (Optional) Add it to your PATH in
.zshrcor.bashrc.
macOS
Via Homebrew
brew install --cask android-platform-tools
Manually (Always Latest)
- Go to the platform-tools page on the Android Developer website.
- Click the
Download SDK Platform-Tools for macOSand agree to the terms. - Unzip the resulting
.zipfile and place it wherever you like. (I prefer /home) - (Optional) Add it to your PATH in
.zshrcor.bashrc.
Windows
Via winget
winget install --id=Google.PlatformTools -e
Via Chocolatey
This also includes fastboot.
choco install adb
Via Scoop
This also includes fastboot.
scoop install adb
Manually (Always Latest)
- Go to the platform-tools page on the Android Developer website.
- Click the
Download SDK Platform-Tools for Windowsand agree to the terms. - Unzip the resulting
.zipfile and place it wherever you like. (I prefer /home) - (Optional) Add it to your PATH.
Install Android Platform Tools
https://chardidath.ing/posts/install-android-platform-tools/