Scrcpy logo SCRCPY

Home / Guide / Scrcpy Mac

Scrcpy Mac Guide: Homebrew Install, Apple Silicon and Permissions

Install scrcpy on macOS with Homebrew or the prebuilt archive, fix Gatekeeper prompts, and get audio and wireless working on a MacBook.

MacBook terminal installing scrcpy with Homebrew next to a mirrored phone

Running scrcpy on Mac is straightforward once you know which installation route to take and how macOS's security features interact with a command-line tool that talks to USB devices. This guide covers installing with Homebrew or the prebuilt archive, Apple Silicon versus Intel, Gatekeeper prompts, USB-C hubs, wireless use on a MacBook, and the macOS-specific shortcuts that differ from Windows.

Installing with Homebrew (recommended)

Homebrew is the most popular package manager on macOS and the easiest way to install and update scrcpy. If you do not have it yet, install it from its official website, then open Terminal and run:

brew install scrcpy
brew install --cask android-platform-tools

The first command installs scrcpy and its libraries. The second installs Google's Android platform tools, which provide adb; the Homebrew scrcpy formula relies on adb being available separately. Check that both work:

scrcpy --version
adb version

Updating later is a single command: brew upgrade scrcpy. Homebrew builds natively for both Apple Silicon and Intel Macs, so you do not need to choose an architecture.

Alternative: MacPorts

If you use MacPorts instead of Homebrew, sudo port install scrcpy installs scrcpy along with adb. Avoid mixing package managers for the same tools; two copies of adb in different locations can conflict.

Alternative: the prebuilt archive

Recent releases also include prebuilt macOS archives, named scrcpy-macos-aarch64 for Apple Silicon and scrcpy-macos-x86_64 for Intel. These are self-contained and include adb.

  1. Check your chip in Apple menu › About This Mac. “Apple M1”, “M2”, “M3” and later mean aarch64; “Intel” means x86_64.
  2. Download the matching archive from the official releases page and extract it into a folder such as ~/Applications/scrcpy.
  3. Open Terminal in that folder and run ./scrcpy.

The archive route suits people who do not want Homebrew or who need a specific version quickly.

Gatekeeper and “cannot be opened” warnings

Binaries downloaded through a browser carry a quarantine flag. When you run them, macOS may say the program “cannot be opened because the developer cannot be verified”. Homebrew installations generally avoid this. For the prebuilt archive, you have two options:

  • Open System Settings › Privacy & Security, scroll down, and click Open Anyway next to the blocked item. You may need to do this for scrcpy and adb separately.
  • Or remove the quarantine attribute from the extracted folder in Terminal:
xattr -dr com.apple.quarantine ~/Applications/scrcpy

Only do this for files you downloaded from the official repository and, ideally, whose checksum you verified. Our download guide shows how to compare SHA-256 values with shasum -a 256.

Connecting your phone on a Mac

macOS needs no drivers for ADB. Enable USB debugging on the phone (see our Android setup guide), connect it, unlock the screen and accept the RSA prompt. Run adb devices to confirm the phone is listed as device, then run scrcpy.

Modern MacBooks have only USB-C ports. A USB-C to USB-C cable from a reputable brand works best. If you go through a hub or dock, connect the phone directly to the Mac for the first session to rule out the hub. Some inexpensive hubs drop data connections under load or when the Mac sleeps.

On recent macOS versions, a dialog may ask whether to allow a new accessory to connect. Choose Allow, or ADB will not see the phone.

Keyboard shortcuts on macOS

The default shortcut modifier is Left Option or Left Command (left Alt or left Super in scrcpy's terms). The combinations are the same as on other platforms:

  • ⌘+F fullscreen, ⌘+H Home, ⌘+B Back, ⌘+S app switcher.
  • ⌘+O turns the phone's display off while mirroring continues.
  • ⌘+↑/↓ changes volume.

Because Command shortcuts are also used by macOS itself (⌘+H normally hides an app), scrcpy captures them only while its window is focused. If a combination collides with a system or utility shortcut you rely on, choose another modifier, for example --shortcut-mod=rsuper (right Command) or lctrl.

Wireless mirroring on a MacBook

A MacBook on battery is the perfect partner for wireless scrcpy. Connect by cable once and run:

scrcpy --tcpip

Unplug when the window appears. Next time, connect with the phone's IP address:

scrcpy --tcpip=192.168.1.42 -b 4M -m 1280

On Android 11 and later you can pair with no cable using Wireless debugging and adb pair. If the connection fails, check macOS's firewall under System Settings › Network › Firewall; incoming connections for adb may need to be allowed.

A Dock launcher without Terminal

To start scrcpy with a click:

  1. Open Automator and create a new Application.
  2. Add a Run Shell Script action.
  3. Enter the full path and your preferred flags, for example /opt/homebrew/bin/scrcpy -Sw -m 1440 on Apple Silicon (Intel Homebrew uses /usr/local/bin).
  4. Save it as “Phone” in Applications and drag it to the Dock.

Automator scripts do not read your shell profile, which is why the full path is needed. If adb is not found, add a line before the command that extends PATH, for example export PATH="/opt/homebrew/bin:$PATH".

Performance on Mac hardware

Apple Silicon Macs decode H.264 and H.265 effortlessly, so you can usually mirror at full resolution with a high bit rate over USB. On Retina displays, the window may look small at 1:1 pixels; drag it larger or press ⌘+F. Older Intel MacBooks benefit from the same tuning as any older laptop: -m 1024 -b 4M --max-fps 30.

Audio and recording on macOS

Audio forwarding works the same as on other systems with Android 11 or newer; the sound plays through your Mac's current output device. To record a session:

scrcpy --record=~/Movies/phone.mkv

MKV files may need a player such as VLC or IINA, since QuickTime does not open them; choose .mp4 if you want QuickTime compatibility.

Mac-specific troubleshooting

  • “command not found: scrcpy” – Homebrew's bin folder is not on PATH. Run the shell setup line Homebrew printed after installation, then open a new Terminal window.
  • “adb: command not found” – install platform tools with brew install --cask android-platform-tools.
  • Device not listed – try another cable, connect directly without a hub, and accept any accessory prompt from macOS.
  • Window appears behind others – add --always-on-top.

Working alongside the rest of your Mac

Scrcpy fits neatly into everyday Mac workflows. Clipboard sync means text copied in Safari, Notes or Mail can be pasted straight into an Android app, and text copied on the phone appears in the Mac clipboard. Dragging a file from Finder onto the scrcpy window copies it to the phone’s Download folder, and dragging an APK installs it.

Mission Control and Stage Manager treat the scrcpy window like any other, so you can give the phone its own desktop Space or keep it in a stage beside your editor. For presentations, combine --always-on-top with a modest --max-size and the phone stays visible over slides. If you capture tutorials with the built-in screenshot toolbar (⌘+Shift+5), select only the scrcpy window to produce clean recordings, or use scrcpy’s own --record option for a direct, full-quality file from the phone.

One caution: keep the Mac awake during long recordings. Closing the lid or letting the Mac sleep ends the session, and the file may be cut short.

Quick answers

Does scrcpy run natively on Apple Silicon?

Yes. Homebrew builds it natively for arm64, and the prebuilt aarch64 archive is native too, so there is no need for Rosetta.

Can I use scrcpy on an older Intel Mac?

Yes. Use Homebrew or the x86_64 archive. Older machines may benefit from a lower resolution and bit rate for smooth playback.

Does macOS need special permissions for scrcpy?

Normally no. Scrcpy does not need Screen Recording or Accessibility permissions because it displays the phone’s screen rather than capturing the Mac’s. You may only need to allow a new USB accessory and, for wireless use, network connections.

How do I uninstall scrcpy from a Mac?

With Homebrew, run brew uninstall scrcpy and, if you no longer need adb, brew uninstall --cask android-platform-tools. For the archive version, delete the folder.

Can I mirror two Android phones on one Mac?

Yes. Open two Terminal windows and start scrcpy in each with -s followed by a serial number from adb devices. Give each window a title with --window-title to tell them apart.

Summary

On a Mac, the smoothest path is Homebrew for scrcpy plus the platform-tools cask for adb, a good USB-C cable for the first connection, and wireless mode once you are set up. Add an Automator launcher to the Dock and your Android phone becomes just another app on your Mac. For deeper explanations of each option, continue with our how to use scrcpy guide.