Getting ADB (Android Debugging Bridge) installed on Windows is not as easy or as straight forward as in Linux. In most Linux distros, you could install it easily from the terminal using its package manager. Windows doesn’t come with any package manager pre-installed. This is where Chocolatey comes in.
Chocolatey is a package manager for windows. You can find more info about it in: https://chocolatey.org
Go over to https://chocolatey.org/install and follow the instructions there to install chocolatey. I have installed it with PowerShell. Remember to launch PowerShell as administrator
Once installed, like searching for a package with a linux package manager, type:
choco search adb
Command output will look something like this :
Here we see the adb package is available. To install it, simply type the command and press enter : choco install adb
If you get an error that looks like this:
Close PowerShell and open it again as an administrator. Type “choco install adb” again, press enter, and this time the install should work without errors.
Once installed, adb will work like a normal command in PowerShell.