Skip to content

Latest commit

 

History

History
94 lines (63 loc) · 2.6 KB

windows.md

File metadata and controls

94 lines (63 loc) · 2.6 KB

On Windows

Install

From the official release

Download the latest release:

  • scrcpy-win64-v3.0.zip (64-bit)
    SHA-256: dfbe8a8fef6535197acc506936bfd59d0aa0427e9b44fb2e5c550eae642f72be
  • scrcpy-win32-v3.0.zip (32-bit)
    SHA-256: 7cbf8d7a6ebfdca7b3b161e29a481c11088305f3e0a89d28e8e62f70c7bd0028

and extract it.

From a package manager

From Chocolatey:

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

From Scoop:

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:

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:

To start scrcpy directly without opening a terminal, double-click on one of these files:

  • scrcpy-console.bat: start with a terminal open (it will close when scrcpy terminates, unless an error occurs);
  • scrcpy-noconsole.vbs: start without a terminal (but you won't see any error message).

Avoid double-clicking on scrcpy.exe directly: on error, the terminal would close immediately and you won't have time to read any error message (this executable is intended to be run from the terminal). Use scrcpy-console.bat instead.

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:

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

Then just double-click on that file.

You could also edit (a copy of) scrcpy-console.bat or scrcpy-noconsole.vbs to add some arguments.