npm install -g ws-scrcpy

This makes it an ideal tool for developers needing to test apps across multiple devices remotely, or for users who want to control their phone from a device that doesn't support the native scrcpy client, such as a tablet or another mobile phone. deploy it using Docker