There’s code you can download from github that would let you control your Roku device from terminal on a PC. I’ve used it to facilitate the design of my own Roku GUI applications. I think there might also be a TUI you can install. A lot of this is going to be easier on Linux, if that’s something you’re familiar with.