# youtube-dl # youtube-dl # Installation ```bash sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl ``` # Usage Download Playlist Videos ```bash youtube-dl -citkf mp4 ``` Download Playlist MP3 ```bash youtube-dl -ciw --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s" ``` Download entire Channel ```bash youtube-dl -f best -citw -v ``` Download Video with Subs ```bash youtube-dl --write-auto-sub --embed-subs ``` Download with Browser cookies ```bash youtube-dl --add-header "Cookie:COOKIE_STRING_EXTRACTED_FROM_BROWSER" ```