yt-dlp

yt-dlp
Share:FacebookTelegramZalo
⚡ Quick install — copy & paste
git clone https://github.com/yt-dlp/yt-dlp.git
For beginners: open Terminal (Windows: click Start, type PowerShell, Enter · macOS: open Terminal) → paste the line above → press Enter → wait for it to finish.
🗑️ How to uninstall (per the README)
The repo README does not say how to uninstall. Check the repo README/GitHub for the exact steps.

▶️ Usage summary

  • Install: curl -L https://github.com/yt-dlp/yt-dlp/raw/master/public.key | gpg --import
  • /etc/yt-dlp/config.txt: # Lines starting with # are comments
  • Authentication with netrc: touch ${HOME}/.netrc
  • Use: machine <extractor> login <username> password <password>
  • E.g.: machine youtube login [email protected] password my_youtube_password
  • E.g. To use an encrypted .netrc file stored as .authinfo.gpg: yt-dlp --netrc-cmd 'gpg --decrypt ~/.authinfo.gpg' 'https://www.youtube.com/watch?v=YE7VzlLtp-4'
  • To summarize, the general syntax for a field is: %(name[.keys][addition][>strf][,alternate][&replacement][|default])[flags][width][.precision][length]type

🇻🇳 Đọc bằng tiếng Việt

yt-dlp — A command-line tool for downloading video and audio from YouTube and thousands of other sites, with your choice of quality and format.

What is yt-dlp?

yt-dlp is a skill (a capability for AI agents such as Claude, Codex and Cursor) on GitHub (yt-dlp/yt-dlp). A command-line tool for downloading video and audio from YouTube and thousands of other sites, with your choice of quality and format.

What can yt-dlp do?

  • Downloads video and audio from YouTube and thousands of other sites
  • Choose quality, format and file naming
  • Updates itself with yt-dlp -U
  • Actively maintained fork of youtube-dl

How to install yt-dlp

See the ⚡ Quick install section at the top of the page — it has a ready-to-copy command taken from the author’s README, plus where to run it. For the full instructions, see the README at the end of the page.

Frequently asked questions about yt-dlp

Is yt-dlp free?

Yes. yt-dlp is an open-source project on GitHub, so you can download and use it for free.

Is yt-dlp hard to install?

No. You only need to run one command above.

What is yt-dlp written in?

yt-dlp is written mainly in Python.

Download & source code

The source code, README and latest updates of yt-dlp are at github.com/yt-dlp/yt-dlp. The star count and update date on this page sync automatically from GitHub.

📖 Full guide

🌐 Translate (Google):

Loading the guide…

🔗 Related repos

Have a question? Ask the groupFacebook group Ask Anything (in Vietnamese): free Q&A on any topic, with real answers.Join the group →
Hoang Ngoc Quang Anh

Sharing computer, Windows and software tips. If you have a question, leave a comment below.