Screencasting your Android phone to windows

scrcpy is one of the best apps I have found for this purpose

Easy to install and use.

  1. Just download the zip
  2. Extract
  3. Follow instructions here scrcpy/doc/windows.md at master · Genymobile/scrcpy · GitHub

To open a terminal at the expected location, double-click on open_a_terminal_here.bat

Then run the command scrcpy