Setting up ADB (Android Debug Bridge) and fastboot tools on Windows, Linux or Mac are pretty easy as you only need to download the ADB and Fastboot SDK Platform-Tools zip file and extract it to your desktop. Besides, there are a number of 3rd-party tools and utilities available out there to help you get ADB and Fastboot ready on your computer.
Now matter how you get ADB and fastboot tools on your computer, you always have to navigate to the directory where you extracted the binaries, launch a command prompt from inside that folder window and execute the desired command — not too straight-forward, right? Thankfully, XDA member eqbirvin has discovered a workaround that lets you enable system-wide ADB and fastboot so that you can run and execute commands from anywhere on your computer. Please note that the tips described below work only on Windows 10.
In our detailed guide below, we’ll be describing how you can setup system-wide ADB and fastboot on Windows 10 PC.
How to Setup System-Wide ADB and Fastboot on Windows
- Download the ADB and fastboot package from here and extract the zip file to your desktop.
- Now create a new folder named “Android” in the root directory of the C Drive on your computer so that the patch of the directory is C:\Android\.
- Copy the “platform-tools” folder to the “Android” directory:
- Now go to Control Panel> System and Security> System.
- You’ll find Computer name, domain, and workgroup settings here. Click Change settings.
- Now click the Advanced tab and then click Environment Variables.
- A new pop-up window will appear. Click Path option found under System Variables.
- Then click New and enter the path of the platform-tools folder: C:\Android\platform-tools.
- Now select C:\Android\platform-tools and click OK.
- Finally, reboot your computer so that the changes you made may take effect.
Done! You have successfully enabled system-wide ADB and fastboot on your Windows PC and you can now run and execute commands from anywhere on your computer.