mirror of
https://github.com/Genymobile/scrcpy
synced 2025-08-22 09:57:30 +00:00
71 lines
1.6 KiB
Markdown
71 lines
1.6 KiB
Markdown
# On macOS
|
|
|
|
## Install
|
|
|
|
### From the official release
|
|
|
|
Download a static build of the [latest release]:
|
|
|
|
- [`scrcpy-macos-aarch64-v3.3.tar.gz`][direct-macos-aarch64] (aarch64)
|
|
<sub>SHA-256: `7a4cdaeb8ba74593edda278c000ddedc8d70a51263a80b16a6345475d42ac21e`</sub>
|
|
|
|
- [`scrcpy-macos-x86_64-v3.3.tar.gz`][direct-macos-x86_64] (x86_64)
|
|
<sub>SHA-256: `bb3c13aac166b92539371883a8781aa861a7cd18e3e6077e570ab7a1f562f774`</sub>
|
|
|
|
[latest release]: https://github.com/Genymobile/scrcpy/releases/latest
|
|
[direct-macos-aarch64]: https://github.com/Genymobile/scrcpy/releases/download/v3.3/scrcpy-macos-aarch64-v3.3.tar.gz
|
|
[direct-macos-x86_64]: https://github.com/Genymobile/scrcpy/releases/download/v3.3/scrcpy-macos-x86_64-v3.3.tar.gz
|
|
|
|
and extract it.
|
|
|
|
_Static builds of scrcpy for macOS are still experimental._
|
|
|
|
|
|
### From a package manager
|
|
|
|
Scrcpy is available in [Homebrew]:
|
|
|
|
```bash
|
|
brew install scrcpy
|
|
```
|
|
|
|
[Homebrew]: https://brew.sh/
|
|
|
|
You need `adb`, accessible from your `PATH`. If you don't have it yet:
|
|
|
|
```bash
|
|
brew install --cask android-platform-tools
|
|
```
|
|
|
|
Alternatively, Scrcpy is also available in [MacPorts], which sets up `adb` for you:
|
|
|
|
```bash
|
|
sudo port install scrcpy
|
|
```
|
|
|
|
[MacPorts]: https://www.macports.org/
|
|
|
|
_See [build.md](build.md) to build and install the app manually._
|
|
|
|
|
|
## Run
|
|
|
|
_Make sure that your device meets the [prerequisites](/README.md#prerequisites)._
|
|
|
|
Once installed, run from a terminal:
|
|
|
|
```bash
|
|
scrcpy
|
|
```
|
|
|
|
or with arguments (here to disable audio and record to `file.mkv`):
|
|
|
|
```bash
|
|
scrcpy --no-audio --record=file.mkv
|
|
```
|
|
|
|
Documentation for command line arguments is available:
|
|
- `man scrcpy`
|
|
- `scrcpy --help`
|
|
- on [github](/README.md)
|