![Forrest logo](/images/logo.png)
pm:tldr:26634
The command "pm list packages" is used in Android devices to display a list of all installed packages on the device.
"pm" stands for Package Manager, which is a command-line tool used to manage packages, including installing, uninstalling, and querying information about packages on an Android device.
When you run the "pm list packages" command, the device's PackageManager retrieves the list of all packages installed on the device and displays them in the command-line interface. Each package name is listed individually, allowing you to see all the applications and system packages installed on the device.
This command is particularly useful when you want to view a comprehensive list of all installed packages, including both user-installed apps and the apps that come pre-installed with the device's operating system.