Forrest logo
back to the pm tool

pm:tldr:5a330

pm: Display a path of the APK of a specific app.
$ pm path ${app}
try on your machine

The command "pm path ${app}" is a command used to retrieve the file path of a specific application installed on an Android device.

Here, ${app} represents a placeholder variable that should be replaced with the package name or the application label of the desired app. This variable could be replaced with the literal package name (e.g., "com.example.app") or with the application label (e.g., "My App").

The "pm" in the command stands for "package manager", which is a system tool in Android that manages the installation and removal of applications. The "path" argument specifies that we want to retrieve the file path of the specified app.

When you run this command on an Android device's command line or terminal, it will search for the provided app's package name or application label and return the file path to that application, indicating where the app is installed on the device's file system.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pm tool