APKM is a command-line package manager for rooted Android, written by Eryck2486. You point it at repositories or add-ons, then search for apps and install them from a terminal. The goal is sideloading without relying on Google APIs, and the README recommends AOSP ROMs, although it says certified devices work too.
Requirements
- Root with Magisk or KernelSU. Those are the two the README names.
- A terminal emulator with root, or ADB. Running
apkmwithout root gives errors. - Android 16 is the only version the developer has tested. The zips are named API35.
- A repository or add-on. There are no packages until you add one. The release notes mention an F-Droid add-on as a working example.
Commands
| Command | What it does |
|---|---|
apkm update | Updates repositories, add-ons and apps to the latest version available online |
apkm --add-repo <url> | Adds a repository. APKM warns that it can't tell you whether the repository is safe |
apkm --rm-repo <name> | Removes a repository |
apkm --list repos | Lists available repositories |
apkm --list addons | Lists available add-ons |
apkm search <term> | Searches all repositories |
apkm install <package> | Installs the latest version found, for example apkm install com.termux |
apkm uninstall <package> | Uninstalls a package from the device |
There's no graphical interface in this module. For that, the project points to a separate app called APKM Store. The zip only ships a Brazilian Portuguese language file, so you may see Portuguese messages in the terminal.
What the module installs
/system/bin/apkm, the manager itself, built for arm, arm64, x86 or x86_64. Pick the zip that matches your device.helper.jar, whichservice.shstarts withapp_processonce boot has finished. It keeps running in the background.- A
sepolicy.rulethat lets regular apps connect to sockets in themagiskSELinux domain. The README says this is so APKM Store can talk to the manager, but it does loosen the policy for every untrusted app, so keep that in mind on a phone you care about.
Removing it
Remove the module in your root manager and reboot. Apps you installed through APKM stay installed, so run apkm uninstall <package> first if you want them gone.