Two ways of installing ADB, the first method is installing via Android Studio which will come with packages you may not ever use. The second option would be to just download the platform-tools
Android Debug Bridge (adb) | Android Studio | Android Developers
Download Android Studio & App Tools – Android Developers
The second option
SDK Platform Tools release notes | Android Studio | Android Developers
After installing, extract to somewhere simple, I would recommend C:\ just to avoid any url issues. So it would like like C:\platform-tools, then ensure you’ve set up the system PATH in your environment variables settings as “C:\platform-tools\” it’s as simple as that. Just start a powershell or cmd and type adb to confirm it works.
Other useful guides
How to install ADB on Windows, macOS, and Linux
Commands & Steps
- Enable debugging mode on device, then connect device.
- Start PowerShell or Command Prompt (CMD)
- Type command to see connected devices list:
- Then type to connect, check the to confirm authorisation: