| Crates.io | cli-yt-downloader |
| lib.rs | cli-yt-downloader |
| version | 0.1.7 |
| created_at | 2024-06-06 22:40:00.192404+00 |
| updated_at | 2025-03-10 21:04:18.656662+00 |
| description | A simple to use Cli for downloading YouTube videos |
| homepage | https://github.com/bryanyi/cli-yt-downloader |
| repository | https://github.com/bryanyi/cli-yt-downloader |
| max_upload_size | |
| id | 1264229 |
| size | 78,753 |
A simple YouTube downloader powered by yt-dlp and clap
Before installing this tool, you need to have yt-dlp installed on your system:
brew install yt-dlp
Using apt (Debian/Ubuntu):
sudo apt update
sudo apt install yt-dlp
Using dnf (Fedora):
sudo dnf install yt-dlp
Using Chocolatey:
choco install yt-dlp
Using Scoop:
scoop install yt-dlp
cargo install cli-yt-downloader
Step 1 - create alias
For Bash/Zsh:
echo 'alias yt="cli-yt-downloader"' >> ~/.zshrc # For Zsh
# OR
echo 'alias yt="cli-yt-downloader"' >> ~/.bashrc # For Bash
For Windows (PowerShell):
# Add to your PowerShell profile
Set-Alias -Name yt -Value cli-yt-downloader
Step 2 - apply changes
For Bash/Zsh:
source ~/.zshrc # For Zsh
# OR
source ~/.bashrc # For Bash
For Windows (PowerShell), restart your PowerShell session.
cli-yt-downloader -- "https://www.youtube.com/watch?v=FxQirt705gc"
cli-yt-downloader -- "https://www.youtube.com/watch?v=FxQirt705gc" -a
cli-yt-downloader -- "https://www.youtube.com/watch?v=FxQirt705gc" -o ~/some-path
The default download location is set to be your OS's download folder.