docs/src/installation.md
49 lines · 1706 bytes
Installation
It's about download (or building) the binary and putting them in an easily accessible location (like /bin/).
Install from Crates.io (recommended)
Crates.io is a repository for programs written in Rust, and the YouTube TUI is avaliable there.
To install using this method, you will need rustc and cargo present. Here's a tutorial on how to get them.
Now, run the following command:
cargo install youtube-tui
To check and update all programs installed from Crates.io, you can use CLI tools like cargo-update.
AUR for Arch Linux (recommended)
The YouTube TUI is avaliable in the AUR here.
Use an AUR helper like yay to install.
yay -S youtube-tui # replace `yay` with your AUR helper
Download a compiled binary
Download the compiled binary for your system from GitHub releases and manually place it in a folder (e.g. ~/.cargo/bin/ or /bin/)
Build from source
Use the cargo command:
cargo install --git https://github.com/siriusmart/youtube-tui
Confirm YouTube TUI has been installed
Run the following command in terminal:
youtube-tui
If installed correctly, a TUI should be launched. Press q to close the TUI.