Repository navigation
Releases
Releases · nerdcuba/cliscrpy
cliscrpy v3.1
Install / update
cliscrpy update
# or: curl -fsSL https://raw.githubusercontent.com/nerdcuba/cliscrpy/main/install.sh | bash
# macOS: brew upgrade cliscrpyWhat's new
uninstall-app <package> [name]: uninstall an app from every phone in parallel. Says plainly when the app isn't installed.- Help: icons that every terminal font has (🔄 reconnect, 💻 run) and a wider command column.
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.
cliscrpy v2.4
Install / update
curl -fsSL https://raw.githubusercontent.com/nerdcuba/cliscrpy/main/install.sh | bashOn macOS, install the dependencies with Homebrew first:
brew install bash scrcpy
brew install --cask android-platform-toolsWhat's new
macOS support
- Runs on macOS with Homebrew's bash. If you start it with the system bash 3.2, cliscrpy switches to Homebrew's bash automatically.
- Mirrors start detached even without
setsid. Notifications go to Notification Center. - Recordings are saved to
~/Movies/cliscrpy. - The dependency installer knows Homebrew (
scrcpyformula +android-platform-toolscask).
Quality
- New test suite (
tests/run.sh): 23 checks against fakeadb/scrcpy, so it never touches real phones or your config. - CI runs the suite on Linux and macOS for every pull request and every push to
main. - Open mirrors are detected with a portable
pscall, socloseworks the same on both systems.
Notes
- Windows is not supported. If you'd like it, open an issue.
- macOS is verified in CI. It hasn't been tested yet with a real phone on a Mac, so feedback is welcome.
cliscrpy v2.3
Install / update
curl -fsSL https://raw.githubusercontent.com/nerdcuba/cliscrpy/main/install.sh | bashWhat's new
Fixes
- close / restart: wait until scrcpy has really exited and force-close a hung mirror after 3s.
restartnow actually reopens frozen windows. - awake: unknown names now show a clear error instead of writing bogus entries to
devices.conf. Also accepts the model name shown instatus. - wifi: phones keep their name and stay-awake setting after switching to wireless (
IP:5555). - record: honors
BITRATEandMAX_SIZE, and refuses to open a second window for a phone that is already mirrored. - close no longer mistakes a recording's file path for a window title.
- Registry edits use exact field matching, so serials like
192.168.1.5:5555are handled safely. - Correct exit codes on success.
Improvements
- Logs moved from
/tmpto~/.local/state/cliscrpy/. EXTRA_ARGSsupports quoted arguments.- Clearer errors for typos (
Unknown command or phone) and unauthorized phones (accept the USB debugging prompt). - Installer only copies a genuine local script and ships its own icon.
- New README with screenshot, MIT
LICENSE. Linux only.