Skip to content

Instantly share code, notes, and snippets.

@jack-webb
Last active October 7, 2022 06:36
Show Gist options
  • Save jack-webb/647507597f749c4600dd9b6a87434f21 to your computer and use it in GitHub Desktop.
Save jack-webb/647507597f749c4600dd9b6a87434f21 to your computer and use it in GitHub Desktop.
Install and use scrcpy on MacOS
# Install scrcpy with brew.
brew install scrcpy
# Check your device is connected with adb.
adb devices
# Run scrcpy and start mirroring! Use Ctrl+C to exit.
scrcpy
# Record your scrcpy session with --record.
scrcpy --record my-demo.mp4
# You can even record directly, without mirroring the screen.
scrcpy --no-display --record my-demo.mp4
# You need adb in your $PATH for scrcpy to work. Check by running adb in a new terminal.
# It should already be there, but install it with brew if you need it.
brew install android-platform-tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment