Installation

Linux

Update system with apt

sudo apt install adb -y
sudo apt upgrade adb -y

Windows

Manual

WinGet

Install winget

winget install --id Google.PlatformTools
winget upgrade --id Google.PlatformTools

Chocolatey

Install chocolatey
Run powershell as admin

choco install adb -y
choco upgrade adb -y

Usage

# Pair to device
adb pair <ip-address>:<port> <code>
# Export Tabs
# Forword local 9222 port to device devtools
adb forward tcp:9222 localabstract:chrome_devtools_remote
# Open Chrome on device and export tabs
wget -O tabs.json http://localhost:9222/json/list

Uninstall

# WinGet
winget remove --id Google.PlatformTools
 
# Chocolatey
choco uninstall adb

Appendix