Forrest logo
tool overview
On this page you find all important commands for the CLI tool scrcpy. If the command you are looking for is missing please ask our AI.

scrcpy

Scrcpy is a command line tool that allows you to display and control your Android device from your computer. It provides a way to mirror your Android screen in real-time on the computer's screen.

With scrcpy, you can interact with your Android device using the computer's keyboard and mouse, making it convenient for various tasks such as presentations, demos, or even just controlling your phone without picking it up.

The tool is lightweight and efficient, allowing for a smooth and responsive user experience. It uses a combination of adb (Android Debug Bridge) and a server application running on the device to establish a connection.

Scrcpy supports several operating systems, including Windows, macOS, and Linux. It does not require any special drivers or software on the Android device.

The tool offers various features, such as the ability to record the screen, transmit clicks and gestures, display touches visually, and resize the mirrored screen.

The screen mirroring is done with low latency, ensuring that there is minimal delay between the actions performed on the computer and the corresponding display on the Android device.

Scrcpy also allows you to copy and paste text between the computer and the Android device, making it convenient for sharing information.

The tool is open-source and actively maintained, ensuring regular updates and bug fixes.

Scrcpy has gained popularity among developers, gamers, and tech enthusiasts due to its simplicity, reliability, and versatility.

Overall, scrcpy is a powerful and straightforward command line tool that provides seamless control and display of Android devices on a computer, making it a valuable asset for various purposes.

List of commands for scrcpy:

  • scrcpy:tldr:02922 scrcpy: Show touches on physical device.
    $ scrcpy --show-touches
    try on your machine
    explain this command
  • scrcpy:tldr:07b86 scrcpy: Rotate the display screen. Each incremental value adds a 90 degree counterclockwise rotation.
    $ scrcpy --rotation ${select}
    try on your machine
    explain this command
  • scrcpy:tldr:21002 scrcpy: Display a mirror of a connected device.
    $ scrcpy
    try on your machine
    explain this command
  • scrcpy:tldr:25723 scrcpy: Display a mirror of a specific device based on its ID or IP address (find it under the `adb devices` command).
    $ scrcpy --serial ${select}
    try on your machine
    explain this command
  • scrcpy:tldr:389e5 scrcpy: Record display screen.
    $ scrcpy --record ${filename-mp4}
    try on your machine
    explain this command
  • scrcpy:tldr:79c0e scrcpy: Set target directory for pushing files to device by drag and drop (non-APK).
    $ scrcpy --push-target ${path-to-directory}
    try on your machine
    explain this command
  • scrcpy:tldr:f320f scrcpy: Start display in fullscreen mode.
    $ scrcpy --fullscreen
    try on your machine
    explain this command
tool overview