Back to Scrcpy

On Windows

doc/windows.md

4.12.5 KB
Original Source

On Windows

Install

From the official release

Download the latest release:

  • scrcpy-win64-v4.1.zip (64-bit)
    <sub>SHA-256: 5b12172b3264b2889f4583ee64752ce832e29bc8b1089dca81093459697165db</sub>
  • scrcpy-win32-v4.1.zip (32-bit)
    <sub>SHA-256: fa57b36622a53b6aec74c5e5b5c08236165efa445c4f186d48f176ebf9c24eec</sub>

and extract it.

From a package manager

From WinGet (ADB and other dependencies will be installed alongside scrcpy):

bash
winget install --exact Genymobile.scrcpy

From Chocolatey:

bash
choco install scrcpy
choco install adb    # if you don't have it yet

From Scoop:

bash
scoop install scrcpy
scoop install adb    # if you don't have it yet

See build.md to build and install the app manually.

Run

Make sure that your device meets the prerequisites.

Scrcpy is a command line application: it is mainly intended to be executed from a terminal with command line arguments.

To open a terminal at the expected location, double-click on open_a_terminal_here.bat in your scrcpy directory, then type your command. For example, without arguments:

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:

If you plan to always use the same arguments, create a file myscrcpy.bat (enable show file extensions to avoid confusion) containing your command, For example:

bash
scrcpy --prefer-text --turn-screen-off --stay-awake

Add --pause-on-exit=if-error if you want the console to remain open when scrcpy fails:

bash
scrcpy --prefer-text --turn-screen-off --stay-awake --pause-on-exit=if-error

Then just double-click on that file to run it.

To start scrcpy without opening a terminal, double-click scrcpy-noconsole.vbs (note that errors won't be shown). To pass arguments, edit (a copy of) scrcpy-noconsole.vbs and add the desired arguments.