ytdlp.org

Install & Update hub

Get yt-dlp installed cleanly, keep it current, and fix setup problems before they waste your time.

Most early yt-dlp pain is not really about commands. It is about setup: the wrong install path, a stale version, missing ffmpeg, or a terminal that cannot see the binary you thought you installed. This pillar exists to solve that layer first.

Install yt-dlp

Get yt-dlp and ffmpeg working properly on macOS, Windows, or Linux before you touch anything else.

Update yt-dlp

Use the right update path for the copy of yt-dlp you are actually running, not the one you think you installed.

Fix "ffmpeg not found"

Solve the most common setup blocker when audio extraction, merges, or post-processing fail.

Start here if

  • • yt-dlp is not installed yet
  • • the command is not recognized in your terminal
  • • you are not sure whether ffmpeg is installed or on PATH

Use the update page if

  • • yt-dlp used to work but suddenly broke
  • • a site changed and you need a newer extractor
  • • you need to confirm you updated the right install

Use the ffmpeg fix page if

  • • downloads work but audio extraction fails
  • • best-video plus best-audio merging is broken
  • • yt-dlp says ffmpeg is missing even though you installed it

What this pillar covers

Installation basics

  • • macOS, Windows, and Linux install paths
  • • ffmpeg setup
  • • version checks
  • • fast install sanity tests

Maintenance and fixes

  • • updating the right yt-dlp copy
  • • PATH and shell mismatch issues
  • • missing ffmpeg troubleshooting
  • • deciding whether the problem is setup or usage

The common failure pattern

People often jump from “yt-dlp is broken” straight into platform-specific debugging. That is backward. If the install is wrong, the version is stale, or ffmpeg is invisible to the shell, you can waste a lot of time solving the wrong problem.

The right order is: install → verify → update → only then troubleshoot higher-level usage problems.

If it keeps breaking

Tired of fixing this every time a site changes?

Paste a link to see what a managed import API returns — the one that stays current so your workflow doesn't break.

Building this into an app? See the API your backend calls instead

Next places to go

Frequently asked questions

How do I install yt-dlp?

On macOS use Homebrew (brew install yt-dlp), on Windows use winget (winget install yt-dlp) or the standalone .exe, and on Linux use the standalone binary or pipx. pip (python3 -m pip install -U yt-dlp) works everywhere Python is set up. Whatever you pick, confirm it with yt-dlp --version afterward.

Do I need ffmpeg too?

Yes for most real use. yt-dlp can fetch media on its own, but merging best-video with best-audio and extracting audio to MP3 both need ffmpeg. Install it alongside yt-dlp and make sure ffmpeg -version works before you troubleshoot download problems.

yt-dlp is installed but my terminal says 'command not found'. Why?

The binary is not on your PATH, or your shell cached an older location. Open a new terminal, then check with which yt-dlp (macOS/Linux) or where yt-dlp (Windows). If nothing shows, add the install directory to your PATH or reinstall with a method that puts it on PATH for you.

Should I use pip or a package manager?

Either is fine, but some package sources lag behind upstream releases. When a site just broke, the newest upstream build often matters more than habit, so prefer the method that gets you current fastest - usually the standalone binary or pip -U.