Install & setup
How to Download yt-dlp (Windows, macOS & Linux)
How to download yt-dlp on Windows, macOS and Linux — the official binary, pip, Homebrew, winget, scoop and more, with ffmpeg setup so downloads merge and convert correctly.
Updated 2026-06-13
yt-dlp is a free, open-source command-line program that downloads video and audio from 1,700+ sites. Getting it onto your machine takes one command. This guide covers every official way to download yt-dlp, plus the one dependency — ffmpeg — that most people forget.
The fastest way per platform
Windows
Use a package manager (recommended, because it handles PATH and updates), or grab the standalone .exe.
winget install yt-dlp.yt-dlp
# or
scoop install yt-dlp
# or
choco install yt-dlpSee the dedicated walkthrough: how to install yt-dlp on Windows.
macOS
brew install yt-dlp
# or, with pipx:
pipx install yt-dlpLinux
Download the official binary into a folder on your PATH and make it executable:
sudo 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-dlpCross-platform: pip / pipx
If you have Python 3.9+ installed, pip works everywhere and makes updating trivial:
python3 -m pip install -U yt-dlpDon't forget ffmpeg
yt-dlp downloads work without ffmpeg, but you need it to merge separate high-resolution video and audio streams, and to convert to MP3 or MP4. Install it once:
# Windows
winget install Gyan.FFmpeg
# macOS
brew install ffmpeg
# Debian/Ubuntu
sudo apt install ffmpegVerify the download
yt-dlp --versionIf that prints a date-based version number, you're ready. Next, learn how to run yt-dlp and how to use yt-dlp.