Tube is a minimalistic YouTube client that allows you to play videos directly from the terminal. It is available on https://git.mills.io/prologic/tube.
In this tutorial, I will guide you on how to install Tube on nixOS Latest.
Before getting started, make sure you have the following prerequisites:
First, open the terminal and clone the Tube repository using the following command:
git clone https://git.mills.io/prologic/tube
After cloning the repository, change the directory to the Tube folder and build Tube using Nix.
cd ./tube
nix-build
The build process may take a few minutes depending on your internet speed.
Once the build is complete, you will find the Tube binary in the ./result/bin
directory. Add this directory to your PATH by running the following command:
echo "export PATH=\$PATH:$PWD/result/bin" >> ~/.bashrc
This will add the Tube binary to your PATH every time you open a terminal.
To test if Tube has been installed correctly, run the following command:
tube search "The Matrix"
This command will search for videos related to the movie "The Matrix" and will display the results in the terminal.
In this tutorial, we have installed Tube on nixOS Latest. Feel free to explore more of Tube's functionality and enjoy watching YouTube videos directly from the terminal!
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!