![Forrest logo](/images/logo.png)
pm:tldr:a5a18
This command is used to list all the packages installed on an Android device that match the specified keywords.
Here's a breakdown of the command:
-
pm
: This refers to the package manager command-line tool in Android. It allows you to manage packages (apps) installed on the device. -
list packages
: This is the specific command withinpm
that lets you list all the installed packages on the device. -
${keyword1 keyword2 ---}
: This is where you specify the keywords to filter the output. The${}
is a placeholder for the keywords. In this command, you can replacekeyword1
andkeyword2
with actual keywords you want to search for. The---
at the end is to indicate the end of the keywords.
For example, if you want to list all the packages that contain the word "music" and "player", you would use the command: pm list packages music player ---
.