ACC Logo
ADBApp ManagementSafe

adb shell pm list packages

List installed application packages

What It Does

Queries the Package Manager service and prints the complete list of package names installed on the system.

Command Syntax
Terminal
$adb shell pm list packages [-3] [-s] [-d] [-e] [-f] [filter]
Parameters & Placeholders Breakdown

This command syntax includes specific placeholder tokens. Below is an explanation of what each word represents and concrete real-world values to replace it with:

[-3] 3 Parameter

Replace this placeholder with your specific 3 value.

Real-world value:your--3
Command syntax: adb shell pm list packages your--3 [-s] [-d] [-e] [-f] [filter]
[-s] S Parameter

Replace this placeholder with your specific s value.

Real-world value:your--s
Command syntax: adb shell pm list packages [-3] your--s [-d] [-e] [-f] [filter]
[-d] D Parameter

Replace this placeholder with your specific d value.

Real-world value:your--d
Command syntax: adb shell pm list packages [-3] [-s] your--d [-e] [-f] [filter]
[-e] E Parameter

Replace this placeholder with your specific e value.

Real-world value:your--e
Command syntax: adb shell pm list packages [-3] [-s] [-d] your--e [-f] [filter]
[-f] F Parameter

Replace this placeholder with your specific f value.

Real-world value:your--f
Command syntax: adb shell pm list packages [-3] [-s] [-d] [-e] your--f [filter]
[filter]FILTER Parameter

Replace this placeholder with your specific filter value.

Real-world value:your-filter
Command syntax: adb shell pm list packages [-3] [-s] [-d] [-e] [-f] your-filter
Usage Examples
$adb shell pm list packages
$adb shell pm list packages -3
$adb shell pm list packages -s
$adb shell pm list packages | grep google
Options & Flags
Flag / ParameterDescription
-3Show third-party (user-installed) packages only.
-sShow system packages only.
-dFilter only disabled packages.
-eFilter only enabled packages.
-fPrint the associated APK path along with package name.
Prerequisites & Requirements
  • Device connected and authorized
Related Commands
Found an error or missing flag for adb shell pm list packages?

Submit a correction or request additional examples on GitHub.

Having issue? Contact @mkr_infinity

Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.

Contact @mkr_infinity