Simple cross-platform CLI script to download APK/XAPK files from APKPure using package names.
- Python 3
- curl
Ubuntu/Debian
sudo apt install curlMac (Homebrew)
brew install curlWindows
- curl comes preinstalled on Windows 10+
python apkDL.py com.android.chromechmod +x apkDL.py
mv apkDL.py /usr/local/bin/apkDLThen:
apkDL com.android.chromeDownloads file into current directory:
com.android.chrome.xapk
-
Uses APKPure direct download endpoint:
https://d.apkpure.com/b/XAPK/{package}?version=latest -
Uses
curlinstead of Python requests to bypass 403 blocking -
Automatically detects OS:
- Windows →
curl.exe - Linux/macOS →
curl
- Windows →
- Output is usually
.xapk(may contain split APKs) - You may need an XAPK installer to use the file
MIT License