This post only covers the installation of adb or fastboot on windows , mac or linux systems. To set up adb or fastboot scroll to the end to find links or click here
Tip: Disable any security keys, patterns or passwords you have set on your device before trying out any installations. Having a password or lock can cause issues in some installations.You can always set them up later.
On Windows PCs
- Download the Windows zip from Google.
- Extract it to a folder on your system – for example,
%USERPROFILE%\adb-fastboot
- On Windows 7/8:
- From the desktop, right-click My Computer and select Properties
- In the System Properties window, click on the Advanced tab
- In the Advanced section, click the Environment Variables button
- In the Environment Variables window, highlight the Path variable in the Systems Variable section and click the Edit button
- Append
;%USERPROFILE%\adb-fastboot\platform-tools
to the end of the existing Path definition (the semi-colon separates each path entry)
- On Windows 10:
- Open the Start menu, and type “advanced system settings”
- Select “View advanced system settings”
- Click on the Advanced tab
- Open the “Environment Variables” window
- Select the Path variable under “System Variables” and click the “Edit” button
- Click the “Edit Text” button
- Append
;%USERPROFILE%\adb-fastboot\platform-tools
to the end of the existing Path definition (the semi-colon separates each path entry)
- Install the universal adb driver, and reboot.
On macOS
- Download the macOS zip from Google.
- Extract it to a folder on your system – for example,
~/adb-fastboot
. - Add the following to
~/.bash_profile
:if [ -d "$HOME/adb-fastboot/platform-tools" ] ; then export PATH="$HOME/adb-fastboot/platform-tools:$PATH" fi
- Log out and back in.
On Linux
- Download the Linux zip from Google.
- Extract it to a folder on your system – for example,
~/adb-fastboot
. - Add the following to
~/.profile
:if [ -d "$HOME/adb-fastboot/platform-tools" ] ; then export PATH="$HOME/adb-fastboot/platform-tools:$PATH" fi
- Log out and back in.
- You may also need to set up udev rules: see this repository for more info.
Click here to learn how to set up adb or fastboot
One thought on “How To – Install adb and fastboot”