yt-dlp/yt-dlp
A community setup & usage guide for the yt-dlp GitHub repository. Official repo: yt-dlp/yt-dlp
A feature-rich command-line audio/video downloader.
What is yt-dlp?
yt-dlp is a powerful command-line media downloader (a youtube-dl fork) supporting thousands of sites, with format selection, subtitles, playlists and post-processing. Use it only for content you have the right to download.
Full README, loaded live from the official repository: github.com/yt-dlp/yt-dlp
Installation
brew install yt-dlppipx install yt-dlpwinget install yt-dlp.yt-dlpscoop install yt-dlppipx install yt-dlpsudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp && sudo chmod a+rx /usr/local/bin/yt-dlpyt-dlp "https://example.com/video"yt-dlp --versionUsage
yt-dlp "URL"yt-dlp -x --audio-format mp3 "URL"yt-dlp -f "bv*+ba/b" "URL"Before you start
Python 3.9+ (or use a standalone binary). Install ffmpeg for merging and audio conversion.
Official repository: github.com/yt-dlp/yt-dlp
FAQ
Do I need ffmpeg?
For best-quality merges and audio extraction, yes — install it alongside yt-dlp.
Is downloading allowed?
Only download content you own or are permitted to. Respect each site's terms and copyright.
Where is the official yt-dlp GitHub repository?
The official yt-dlp GitHub repo is hosted at github.com/yt-dlp/yt-dlp. This page links straight to it and summarises how to install and use yt-dlp.
Is this the official yt-dlp repo?
No. officialrepo.com is an independent community guide. The official yt-dlp GitHub repository is github.com/yt-dlp/yt-dlp — always treat that repo and its documentation as the source of truth.
This is an independent community guide. yt-dlp and its logo are trademarks of their respective owner; officialrepo.com is not affiliated with or endorsed by the project or GitHub, Inc. The link above points to the genuine official repository.