Install using Composer:
composer global require 'martinlindhe/php-tvnu'
Invoke with the "tv" command line.
To customize displayed channels, create a ~/.tvnu.yml, like this:
favorites:
- SVT1
- SVT2
- Kunskapskanalen
- TV4
- TV6