Overview
yt-dlp can be installed using binaries, pip, or third-party package managers. Choose the method that works best for your platform and use case.Python versions 3.10+ (CPython) and 3.11+ (PyPy) are supported. For the best experience, we recommend using Python 3.10 or later.
Install with pip (recommended)
The easiest way to install yt-dlp is using pip. This method works on all platforms and keeps the tool updated.Platform-specific binaries
Standalone executables are available for Windows, macOS, and Linux. These don’t require Python to be installed.- Windows
- macOS
- Linux/BSD
Windows (x64)
Download the standalone executable for Windows:Download the executable
Download yt-dlp.exe (Windows 8+ x64)Alternative downloads:
- yt-dlp_x86.exe - 32-bit version
- yt-dlp_arm64.exe - Windows 10+ ARM64
Place in your PATH (optional)
For easier access, place the executable in a directory that’s in your PATH, such as
C:\Windows\System32 or add a custom directory to your PATH.Package managers
yt-dlp is available in several third-party package managers:Linux distributions
Linux distributions
Distribution packages may be outdated. For the latest version, use pip or binaries.
macOS package managers
macOS package managers
Windows package managers
Windows package managers
Other package managers
Other package managers
Updating yt-dlp
yt-dlp has a built-in update mechanism for binaries and supports multiple release channels.Update release binaries
If you installed using the release binaries:Update pip installations
If you installed with pip, re-run the installation command:Release channels
yt-dlp has three release channels:- Stable
- Nightly
- Master
Stable (default) - Tested releases with many changes validated by nightly users.
Switch channels or downgrade
You can switch channels or downgrade to specific versions:Dependencies
While most dependencies are optional, some are highly recommended for full functionality.Strongly recommended
ffmpeg and ffprobe
ffmpeg and ffprobe
Required for merging video and audio files, format conversion, and post-processing.Installation:yt-dlp also provides custom FFmpeg builds with patches for known issues.
Optional dependencies
For specific features, you may want to install:- certifi - Mozilla’s root certificate bundle
- brotli or brotlicffi - Brotli compression support
- websockets - WebSocket downloads
- requests - HTTPS proxy and persistent connections
- curl_cffi - Browser impersonation (included in most binaries)
- mutagen - Embed thumbnails in audio files
- AtomicParsley - Embed thumbnails in MP4/M4A
- pycryptodomex - Decrypt AES-128 HLS streams
[default] extras:
Verify dependencies
To see all currently available dependencies:Next steps
Quick start
Download your first video with yt-dlp
Configuration
Set up configuration files for default options