Home » Android » ADB Commands » Adb List Packages – How to List the All Installed Packages in Android ?

Adb List Packages – How to List the All Installed Packages in Android ?

If we want to identify all the installed packages on an android device, we need to use below adb command,

 $ adb shell cmd package list packages 

In the older versions of android, you can also try using

 $ pm list packages 

For “cmd package” command following more options are available,

list packages [-f] [-d] [-e] [-s] [-3] [-i] [-l] [-u] [-U] [--uid UID] [--user USER_ID] [FILTER]

    Prints all packages; optionally only those whose name contains the text in FILTER.

    Options:
      -f: see their associated file
      -d: filter to only show disabled packages
      -e: filter to only show enabled packages
      -s: filter to only show system packages
      -3: filter to only show third party packages
      -i: see the installer for the packages
      -l: ignored (used for compatibility with older releases)
      -U: also show the package UID
      -u: also include uninstalled packages
      --uid UID: filter to only show packages with the given UID
      --user USER_ID: only list packages belonging to the given user

As we can see from above we can control the output to show only required applications using filters.

We used this command on our mobile, and it return the list as you can see below.

Now, lets say we wan to filter and see only google applications, then we can use the filter as below,

Leave a Comment