The CLI version (apk-downloader.bat) provides a full-featured command-line interface with interactive menus, color-coded output, and all the capabilities of the web interface.
The CLI doesn’t require Node.js - it’s a standalone Windows batch script that uses ADB directly.
The CLI runs adb devices to find all connected devices:
"%ADB_EXE%" devices 2>nul > "%TMP_DEVLIST%"
2
Device List
You’ll see all devices with custom names (if set):
Dispositivos encontrados: 2[1] My Pixel 6 (1A2B3C4D5E6F7G8H)[2] 192.168.1.100:5555[0] Volver al menu principalSelecciona un dispositivo [0-2]:
3
Device Menu
After selecting a device, you’ll see its information:
Nombre : My Pixel 6Serial : 1A2B3C4D5E6F7G8HMarca : GoogleModelo : Pixel 6Android : 13 (API 33)[1] Listar aplicaciones instaladas[2] Asignar nombre al dispositivo[3] Volver a la lista de dispositivos[4] Volver al menu principal
From the device menu, select [1] Listar aplicaciones instaladas:
1
Choose filter
Select which apps to list:
¿Qué aplicaciones deseas listar?[1] Solo aplicaciones de terceros (instaladas por el usuario)[2] Todas las aplicaciones (incluye sistema)[0] Volver
2
Loading
The CLI fetches the app list and calculates sizes:
Cargando lista (esto puede tardar unos segundos)...Detectando formato y tamaño de cada app...(Las apps del sistema pueden tardar mas)
Size calculation uses du -b on the device for exact byte counts:
"%ADB_EXE%" -s "%SERIAL%" shell du -b "%PATH%"
3
Paginated list
Apps are displayed 15 per page:
Num Paquete Formato Tamaño─── ──────────────────────────────────── ────────── ──────[1] com.android.chrome APK 89 MB[2] com.whatsapp Split APK 67 MB[3] com.spotify.music Split APK 102 MB...Pagina 1 de 8Ingresa el numero de la app para ver detalles.[A] Pagina anterior[S] Pagina siguiente[0] Volver
Use [A] (anterior) and [S] (siguiente) to navigate pages quickly.
Dispositivo : Google Pixel 6Paquete : com.android.chromeVersion : 108.0.5359.128 (Code: 535912800)Archivos APK: 1Ruta en dispositivo: /data/app/~~xyz==/com.android.chrome-abc123==/base.apk[1] Extraer APK a esta PC[0] Volver a la lista de aplicaciones
2
Choose destination
Carpeta de destino (Enter para usar el escritorio):> C:\Users\YourName\Documents\APKs
Select option [2] from the main menu to pair a device wirelessly:
1
Enable wireless debugging
On your Android device (Android 11+):
Go to Settings → Developer Options
Enable Wireless debugging
Tap Pair device with pairing code
2
Pairing
Enter the connection details from your device:
┌─────────────────────────────────────────────────────┐│ Paso 1: Emparejamiento │└─────────────────────────────────────────────────────┘IP del dispositivo: 192.168.1.100Puerto de vinculacion: 37891Codigo de vinculacion (6 digitos): 123456Emparejando con 192.168.1.100:37891...Successfully paired to 192.168.1.100:37891[OK] Emparejamiento exitoso.
3
Connection
Get the connection port from Wireless debugging screen:
┌─────────────────────────────────────────────────────┐│ Paso 2: Conexion │└─────────────────────────────────────────────────────┘Puerto de conexion: 33445Conectando a 192.168.1.100:33445...connected to 192.168.1.100:33445[OK] Conectado exitosamente a 192.168.1.100:33445[OK] Dispositivo guardado para reconexion futura.
The device is automatically saved to devices.json for quick reconnection.
Manage your saved WiFi devices with option [3] from the main menu:
╔══════════════════════════════════════════════════════╗ ║ APK EXTRACTOR | Dispositivos Guardados║ ╚══════════════════════════════════════════════════════╝ Dispositivos guardados: 2 [1] Google Pixel 6 (192.168.1.100:33445) [2] Samsung Galaxy S21 (192.168.1.101:39021) [C] Conectar a un dispositivo [D] Eliminar un dispositivo [0] Volver al menu principal
Quick Connect
Delete Device
Select [C], then enter the device number:
Numero del dispositivo a conectar [1-2]: 1Conectando a 192.168.1.100:33445...connected to 192.168.1.100:33445[OK] Conectado a Google Pixel 6
If the port has expired:
[!] No se pudo conectar. Los puertos pueden haber caducado.¿Deseas re-vincular este dispositivo? [S/N]: SIP: 192.168.1.100 (no modificable)Nuevo puerto de vinculacion: 41234Codigo de vinculacion: 654321Emparejando...Successfully paired to 192.168.1.100:41234Nuevo puerto de conexion: 35678Conectando a 192.168.1.100:35678...[OK] Puertos actualizados.
Select [D], then enter the device number:
Numero del dispositivo a eliminar [1-2]: 2[OK] Dispositivo eliminado.
¿Qué deseas hacer?[1] Ingresar la ruta donde tengo ADB instalado[2] Descargar ADB ahora (se instalara en C:\platform-tools)[3] Volver al menu principalElige una opcion [1-3]: 2Descargando Android Platform Tools desde Google...URL: https://dl.google.com/android/repository/platform-tools-latest-windows.zipExtrayendo archivos en C:\...[OK] ADB instalado en C:\platform-tools[OK] Ruta guardada en configuracion.
Elige una opcion [1-3]: 1Ingresa la ruta completa a adb.exeEjemplo: C:\Users\User\AppData\Local\Android\Sdk\platform-tools\adb.exeRuta: C:\Android\platform-tools\adb.exe[OK] Ruta guardada correctamente.
The path is saved to config.txt and used for all future sessions.
Your terminal may not support ANSI escape codes. Try:
Windows Terminal (recommended)
Windows 10/11 Command Prompt (colors work by default)
Avoid old Windows 7 cmd.exe
'adb' is not recognized
ADB is not installed or not in PATH. Use option [4] from the main menu to configure ADB.
Device not authorized
The Android device hasn’t authorized your PC. Check the device screen for the authorization prompt and tap Allow.
Extraction fails with 'error: more than one device'
Multiple devices are connected. The CLI should prompt you to select one - if not, disconnect other devices or use the -s flag manually.
WiFi connection drops frequently
WiFi debugging ports change when the device restarts or toggles the wireless debugging feature. Save the device and use [C] to reconnect - it handles re-pairing automatically.