Files
cheatsheet-tldr/tldr/adb-shell-pm-list-packages
2025-10-21 00:19:51 +00:00

38 lines
753 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# adb shell pm list packages
> List installed, known, or filtered packages on an Android device.
> More information: <https://developer.android.com/tools/adb>.
- List all installed packages:
`adb shell pm list packages`
- List all packages and their associated APK file paths:
`adb shell pm list packages -f`
- Only list disabled packages:
`adb shell pm list packages -d`
- Only list enabled packages:
`adb shell pm list packages -e`
- Only list system packages:
`adb shell pm list packages -s`
- Only list third-party (non-system) packages:
`adb shell pm list packages -3`
- Show the installer for each package:
`adb shell pm list packages -i`