Display a mirror of a specific device based on its ID or IP address (find it under the adb devices command)

scrcpy

  • Display and control your Android device on a desktop.
    More information: <https://github.com/Genymobile/scrcpy>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

scrcpy --serial {{0123456789abcdef|192.168.0.1:5555}}

click the source code to copy install scrcpy on any operating system with command-not-found.com