File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # adb shell pm list packages  
2+ 
3+ >  List installed, known, or filtered packages on an Android device.
4+ >  More information: < https://developer.android.com/tools/adb > .
5+ 
6+ -  List all installed packages:
7+ 
8+ ` adb shell pm list packages ` 
9+ 
10+ -  List all packages and their associated APK file paths:
11+ 
12+ ` adb shell pm list packages -f ` 
13+ 
14+ -  Only list disabled packages:
15+ 
16+ ` adb shell pm list packages -d ` 
17+ 
18+ -  Only list enabled packages:
19+ 
20+ ` adb shell pm list packages -e ` 
21+ 
22+ -  Only list system packages:
23+ 
24+ ` adb shell pm list packages -s ` 
25+ 
26+ -  Only list third-party (non-system) packages:
27+ 
28+ ` adb shell pm list packages -3 ` 
29+ 
30+ -  Show the installer for each package:
31+ 
32+ ` adb shell pm list packages -i ` 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments