mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-17 05:24:19 +01:00
Installing android-platform-tools via brew install requires the option --cask. Refs #2004 <https://github.com/Genymobile/scrcpy/pull/2004> Refs #2231 <https://github.com/Genymobile/scrcpy/pull/2231> PR #5398 <https://github.com/Genymobile/scrcpy/pull/5398> Signed-off-by: Romain Vimont <rom@rom1v.com>
865 B
865 B
On macOS
Install
Scrcpy is available in Homebrew:
brew install scrcpy
You need adb, accessible from your PATH. If you don't have it yet:
brew install --cask android-platform-tools
Alternatively, Scrcpy is also available in MacPorts, which sets up adb for you:
sudo port install scrcpy
See build.md to build and install the app manually.
Run
Make sure that your device meets the prerequisites.
Once installed, run from a terminal:
scrcpy
or with arguments (here to disable audio and record to file.mkv):
scrcpy --no-audio --record=file.mkv
Documentation for command line arguments is available:
man scrcpyscrcpy --help- on github