Skip to content
Aleksei Matiushkin edited this page Jan 16, 2025 · 12 revisions
tv-version

Nix

Television is available on nixpkgs

nix run nixpkgs#television

Homebrew

brew install television

Arch Linux

pacman -S television

Debian-based (Debian, Ubuntu, Pop!_OS, Linux Mint, etc.)

VER=`curl -s "https://api.github.com/repos/alexpasmantier/television/releases/latest" | grep '"tag_name":' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/'`
curl -LO https://github.com/alexpasmantier/television/releases/download/$VER/television_$VER-1_amd64.deb
echo $VER
sudo dpkg -i television_$VER-1_amd64.deb

Conda-forge (cross-platform)

pixi global install television

Pre-compiled Binary

From the latest release page:

  • Download the latest release asset for your platform (e.g. tv-vX.X.X-linux-x86_64.tar.gz if you're on a linux x86 machine)
  • Unpack and copy to the relevant location on your system (e.g. /usr/local/bin on macos and linux for a global installation)

Crates.io

Setup the latest stable Rust toolchain via rustup:

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustup update

Install television:

cargo install --locked television

Building from source

If you want to benefit from the latest updates on main, clone the repo and build from source by running:

git clone [email protected]:alexpasmantier/television.git && cd television
make release

You can then alias tv to the produced binary:

alias tv=$TELEVISION_DIR/target/release/tv