-
Notifications
You must be signed in to change notification settings - Fork 36
Installation
Aleksei Matiushkin edited this page Jan 16, 2025
·
12 revisions
Television is available on nixpkgs
nix run nixpkgs#television
brew install television
pacman -S television
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
pixi global install television
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)
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
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