mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
38 lines
792 B
Plaintext
38 lines
792 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# adb shell pm list
|
|
|
|
> List users, packages, permissions, instrumentation, permission groups, features and libraries managed by the package manager.
|
|
> More information: <https://developer.android.com/tools/adb>.
|
|
|
|
- List all installed packages:
|
|
|
|
`adb shell pm list packages`
|
|
|
|
- Print all users on the system:
|
|
|
|
`adb shell pm list users`
|
|
|
|
- Print all known permission groups:
|
|
|
|
`adb shell pm list permission-groups`
|
|
|
|
- Print all known permissions:
|
|
|
|
`adb shell pm list permissions`
|
|
|
|
- List all test packages:
|
|
|
|
`adb shell pm list instrumentation`
|
|
|
|
- Print all features of the system:
|
|
|
|
`adb shell pm list features`
|
|
|
|
- Print all the libraries supported by the current device:
|
|
|
|
`adb shell pm list libraries`
|