From 8dac30e39ea6b52c7b34d8283c5b3fdfe80a46f1 Mon Sep 17 00:00:00 2001 From: gamer191 <83270075+gamer191@users.noreply.github.com> Date: Fri, 19 Jun 2026 01:17:36 +1000 Subject: [PATCH 1/2] Update installation instructions --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 47e686f84..7357aedeb 100644 --- a/README.md +++ b/README.md @@ -20,12 +20,17 @@ youtube-dl - download videos from youtube.com or other video platforms To install it right away for all UNIX users (Linux, macOS, etc.), type: - sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl + sudo curl -L https://github.com/ytdl-org/youtube-dl/releases/download/2021.12.17/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl If you do not have curl, you can alternatively use a recent wget: - sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl + sudo wget https://github.com/ytdl-org/youtube-dl/releases/download/2021.12.17/youtube-dl -O /usr/local/bin/youtube-dl + sudo chmod a+rx /usr/local/bin/youtube-dl + +If you use Python3, use `sed` to edit the shebang (WARNING: editing the file using a text editor will likely corrupt it and lead to a zipimport error): + + sudo sh -c "curl -L https://github.com/ytdl-org/youtube-dl/releases/download/2021.12.17/youtube-dl|sed 1s/python/python3/ > /usr/local/bin/youtube-dl" sudo chmod a+rx /usr/local/bin/youtube-dl Windows users can [download an .exe file](https://yt-dl.org/latest/youtube-dl.exe) and place it in any location on their [PATH](https://en.wikipedia.org/wiki/PATH_%28variable%29) except for `%SYSTEMROOT%\System32` (e.g. **do not** put in `C:\Windows\System32`). From de34fb0774c19fc359b095e6ff02ddf840f3e697 Mon Sep 17 00:00:00 2001 From: gamer191 <83270075+gamer191@users.noreply.github.com> Date: Fri, 19 Jun 2026 01:27:14 +1000 Subject: [PATCH 2/2] Switch to releases/latest and replace more links --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7357aedeb..bdc966946 100644 --- a/README.md +++ b/README.md @@ -20,20 +20,20 @@ youtube-dl - download videos from youtube.com or other video platforms To install it right away for all UNIX users (Linux, macOS, etc.), type: - sudo curl -L https://github.com/ytdl-org/youtube-dl/releases/download/2021.12.17/youtube-dl -o /usr/local/bin/youtube-dl + sudo curl -L https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl -o /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl If you do not have curl, you can alternatively use a recent wget: - sudo wget https://github.com/ytdl-org/youtube-dl/releases/download/2021.12.17/youtube-dl -O /usr/local/bin/youtube-dl + sudo wget https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl -O /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl If you use Python3, use `sed` to edit the shebang (WARNING: editing the file using a text editor will likely corrupt it and lead to a zipimport error): - sudo sh -c "curl -L https://github.com/ytdl-org/youtube-dl/releases/download/2021.12.17/youtube-dl|sed 1s/python/python3/ > /usr/local/bin/youtube-dl" + sudo sh -c "curl -L https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl|sed 1s/python/python3/ > /usr/local/bin/youtube-dl" sudo chmod a+rx /usr/local/bin/youtube-dl -Windows users can [download an .exe file](https://yt-dl.org/latest/youtube-dl.exe) and place it in any location on their [PATH](https://en.wikipedia.org/wiki/PATH_%28variable%29) except for `%SYSTEMROOT%\System32` (e.g. **do not** put in `C:\Windows\System32`). +Windows users can [download an .exe file](https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl.exe) and place it in any location on their [PATH](https://en.wikipedia.org/wiki/PATH_%28variable%29) except for `%SYSTEMROOT%\System32` (e.g. **do not** put in `C:\Windows\System32`). You can also use pip: @@ -796,7 +796,7 @@ As a last resort, you can also uninstall the version installed by your package m Afterwards, simply follow [our manual installation instructions](https://ytdl-org.github.io/youtube-dl/download.html): ``` -sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl +sudo wget https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl -O /usr/local/bin/youtube-dl sudo chmod a+rx /usr/local/bin/youtube-dl hash -r ```