Connect Your Android Phone with adb devices
Confirm USB-debugging detection and sideload APKs straight from the terminal — no store required.
01Command
$ adb devices && adb install ~/Downloads/app.apk02What it does
adb (Android Debug Bridge, packaged as android-tools on most distros) is the bridge between Linux and an Android device. 'adb devices' is the sanity check: it shows a serial number and 'device' state when the phone trusts your computer — the first run triggers an authorization dialog on the phone itself. adb install pushes and installs an APK, adb uninstall removes a package, and adb shell drops into the phone's command line.
03Risk
04Undo
$ adb uninstall com.example.package05Sources
- adb(1) — Android Debug BridgeEvidence: Man page documents the 'devices' command ('list connected devices') and 'install' command with the APK file argument; confirms 'adb', 'devices' and 'install' appear in the text.
- adb(1) — Ubuntu man page (android-tools)Evidence: Man page text includes 'adb devices [-l|-H|-P...]' (list devices in USB mode) and 'adb install [-lrtsdg] <file.apk>', confirming both subcommands.
Last verified: 2026-09-19 · Category: System & Settings
06Related solutions
Launch an interactive process viewer with color meters for CPU cores, memory, and swap, plus search, sort, and kill controls.
Show total, used, and available space plus usage percentage for every mounted filesystem in human-readable units.
The classic forgotten-syntax command: `traceroute` shows every router between you and a destination plus the round-trip time of probes to each hop.