Package Management Android 2.2+ Risk: READ_ONLY

Get Default App Install Location

Returns the current default install policy number (0=Auto, 1=Internal, 2=External).

Command Syntax

adb shell pm get-install-location
Generic Syntax: pm get-install-location

Real-World Usage Examples

Check install location setting
Returns active policy code.
adb shell pm get-install-location
Output:
0[auto]