Due to recent changes by YouTube, yt-dlp now requires Deno (not Denort) to be installed in order to download YouTube videos in maximum quality. If you don't plan on downloading youtube videos, or don't care about video quality, you can ignore this tutorial:
Windows users should run powershell "irm https://deno.land/install.ps1 | iex". If that fails, run powershell "irm https://deno.com/install.ps1 | iex". If that also fails, run powershell "irm https://deno.land/x/install/install.ps1 | iex".
MacOS and Linux users should run curl -fsSL https://deno.land/install.sh | sh. If that fails, use curl -fsSL https://deno.land/x/install/install.sh | sh
- Download Deno:
| OS | Download link |
|---|---|
| Windows | https://github.com/denoland/deno/releases/latest/download/deno-x86_64-pc-windows-msvc.zip |
| MacOS (Apple Silicon) | https://github.com/denoland/deno/releases/latest/download/deno-aarch64-apple-darwin.zip |
| MacOS (Intel) | https://github.com/denoland/deno/releases/latest/download/deno-x86_64-apple-darwin.zip |
Linux (uname -m outputs x86_64) |
https://github.com/denoland/deno/releases/latest/download/deno-x86_64-unknown-linux-gnu.zip |
Linux (uname -m outputs aarch64) |
https://github.com/denoland/deno/releases/latest/download/deno-aarch64-unknown-linux-gnu.zip |
- Open the zip file, and copy
denoordeno.exeto the same folder as yt-dlp
Warning
It is important to keep Deno up-to-date. This can be done by routinely running deno upgrade. Using outdated versions of Deno (or other yt-dlp dependencies such as ffmpeg) could allow Youtube to execute code on your computer, although its highly unlikely that youtube would actually do that. Currently yt-dlp does not use Deno on any other websites.