scrcpy/doc/macos.md
Gutem f1f2711626 Document missing --cask option for macOS
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>
2024-11-20 08:04:47 +01:00

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 scrcpy
  • scrcpy --help
  • on github