The PM command is used as follows:
Usage: PM [list | path | install | uninstall]
PM list packages [-F]
PM list permission-groups
PM list permissions [-G] [-F] [-D] [-u] [group]
PM list instrumentation [-F] [target-package]
PM path package
PM install [-L] [-R] path
PM uninstall [-K] package
PM enable package_or_component
PM disable package_or_component
The list packages command prints all packages. Use
The-F option to see their associated file.
The list permission-groups command prints all known
Permission groups.
The list permissions command prints all known
Permissions, optionally only those in Group. Use
The-G option to organize by group. Use
The-F option to print all information. Use
The-s option for a short summary. Use
The-D option to only list dangerous permissions. Use
The-u option to list only the permissions users will see.
The list instrumentation command prints all instrumentations,
Or only those that target a specified package. Use the-F Option
To see their associated file.
The path command prints the path to the. APK of a package.
The Install command installa package to the system. Use
The-L option to install the package with forward_lock. Use
The-r option to reinstall an exisiting app, keeping its data.
The uninstall command removes a package from the system. Use
The-K option to keep the data and cache directories around
After the package removal.