Repository navigation
cliscrpy v3.0
Install / update
curl -fsSL https://raw.githubusercontent.com/nerdcuba/cliscrpy/main/install.sh | bashAlready on 2.x? cliscrpy update works from now on. Your registered phones are migrated automatically.
Fleet control
install <apk> [name]— install an app on every phone in parallel.shot [name]— screenshot every phone to~/Pictures/cliscrpy.url <url> [name]— open a link or deep link on every phone.clear <package> [name]— clear an app's data everywhere.run "<cmd>" [name]— run an adb shell command everywhere.
Wireless
- Phones are identified by their hardware serial (
ro.boot.serialno, set by the bootloader, so it stays put even whenro.serialnois spoofed), so a phone shows up once whether it's on USB, Wi-Fi or both (USB is preferred for mirroring). pair <ip:port> <code>— pair over Wi-Fi without a cable (Android 11+).reconnect— reconnect known phones over Wi-Fi via mDNS or their last known IP.statusshows the link (usb,wifi,usb+wifi).
Tools
doctor— checks bash, scrcpy, adb, phones, open mirrors and recent log errors.updateanduninstall [--purge].- Shell completions for bash, zsh and fish (
completion <shell>), set up by the installer. - AUR
PKGBUILDand Homebrew formula inpackaging/.
Under the hood
- Mirrors are tracked by PID and matched by exact window title, no regex.
- The registry gains a 4th column (last Wi-Fi IP). v2 registries are migrated automatically.
- Fixed:
adb shellswallowed the device list, so only the first phone was seen. - Phones that report a bogus serial (
unknown) are never merged. - shellcheck runs in CI.