adb-shell-pm-list-packages
List installed packages on an Android device
TLDR
SYNOPSIS
adb shell pm list packages [options] [filter]
DESCRIPTION
pm list packages enumerates installed applications on an Android device. It is a subcommand of the package manager's pm list group, restricted to listing application packages.Output is in the format package:com.example.app with one package per line. An optional filter argument limits results to packages whose name contains the given text. Use grep or other tools for more complex filtering.
PARAMETERS
-f
Include APK file path-d
Only disabled packages-e
Only enabled packages-s
Only system packages-3
Only third-party (user-installed) packages-i
Show package installer-u
Include uninstalled packages with data
CAVEATS
The output format is consistent but verbose. Pipe through cut -d: -f2 to get just package names. Results may differ between device users on multi-user devices.
HISTORY
Part of the Android Package Manager since the platform's initial release in 2008, this command remains one of the most commonly used adb shell operations for device management and debugging.
SEE ALSO
adb-shell-pm(1), adb-shell-pm-list(1), adb-shell(1), adb(1)
