🧰 Commands
Full CLI reference for gtv-cli
gtv
Open the fullscreen TUI remote. Pairs on first run.
$ gtvgtv pair
Pair with a Google TV on your local network. Launches mDNS discovery and prompts you to select a device.
$ gtv pair
$ gtv unpairgtv discover
Discover Google TV devices on the local network via mDNS.
$ gtv discover # list discovered devices
$ gtv discover --select # discover and interactively select one to pairgtv switch
Switch the active device. Without an argument, shows an interactive picker.
$ gtv switch # interactive picker
$ gtv switch living-room # switch by namegtv devices
List all paired devices and show which one is active.
$ gtv devicesgtv status
Show connection status for the active device.
$ gtv statusgtv doctor
Run a health check on the active device connection.
$ gtv doctorNavigation keys
Send individual navigation key presses without opening the TUI.
$ gtv home
$ gtv back
$ gtv up
$ gtv down
$ gtv left
$ gtv right
$ gtv selectVolume
$ gtv vol up
$ gtv vol down
$ gtv vol mutegtv key
Send any Android TV key by name.
$ gtv key KEYCODE_POWER
$ gtv key KEYCODE_MEDIA_PLAY_PAUSEgtv app
Deep-link launch an app by URL.
$ gtv app https://www.netflix.com/
$ gtv app https://www.youtube.com/