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-dlpUsing apt (Debian/Ubuntu):
sudo apt update
sudo apt install yt-dlpUsing dnf (Fedora):
sudo dnf install yt-dlpUsing Chocolatey:
choco install yt-dlpUsing Scoop:
scoop install yt-dlpcargo install cli-yt-downloaderStep 1 - create alias
For Bash/Zsh:
echo 'alias yt="cli-yt-downloader"' >> ~/.zshrc # For Zsh
# OR
echo 'alias yt="cli-yt-downloader"' >> ~/.bashrc # For BashFor Windows (PowerShell):
# Add to your PowerShell profile
Set-Alias -Name yt -Value cli-yt-downloaderStep 2 - apply changes
For Bash/Zsh:
source ~/.zshrc # For Zsh
# OR
source ~/.bashrc # For BashFor 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" -acli-yt-downloader -- "https://www.youtube.com/watch?v=FxQirt705gc" -o ~/some-pathThe default download location is set to be your OS's download folder.