Setting up ADB 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. 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. 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. Below we’ve described the whole procedure for Windows 10 users. The process is similar for other operating systems as well just a little work around is required.
Downloads
Download the ADB and fastboot here
How to Setup System-Wide ADB and Fastboot
Thats it! You have successfully enabled system-wide ADB and fastboot on your Windows PC. You can now run and execute commands from anywhere on your computer. If you want to ask about anything, just drop a comment below, Thanks!