gtv-cli

🧰 Commands

Full CLI reference for gtv-cli

gtv

Open the fullscreen TUI remote. Pairs on first run.

$ gtv

gtv pair

Pair with a Google TV on your local network. Launches mDNS discovery and prompts you to select a device.

$ gtv pair
$ gtv unpair

gtv 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 pair

gtv switch

Switch the active device. Without an argument, shows an interactive picker.

$ gtv switch             # interactive picker
$ gtv switch living-room # switch by name

gtv devices

List all paired devices and show which one is active.

$ gtv devices

gtv status

Show connection status for the active device.

$ gtv status

gtv doctor

Run a health check on the active device connection.

$ gtv doctor

Send individual navigation key presses without opening the TUI.

$ gtv home
$ gtv back
$ gtv up
$ gtv down
$ gtv left
$ gtv right
$ gtv select

Volume

$ gtv vol up
$ gtv vol down
$ gtv vol mute

gtv key

Send any Android TV key by name.

$ gtv key KEYCODE_POWER
$ gtv key KEYCODE_MEDIA_PLAY_PAUSE

gtv app

Deep-link launch an app by URL.

$ gtv app https://www.netflix.com/
$ gtv app https://www.youtube.com/

On this page