From 9324d03ef9cfd8e26874cead3a2c1b5c78cdb42c Mon Sep 17 00:00:00 2001 From: PalmarHealer Date: Sun, 14 Jan 2024 00:16:09 +0100 Subject: [PATCH] Seperate commands Separated the installation commands so its easier to copy them --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a877dee8f..84bfbf0e3 100644 --- a/README.md +++ b/README.md @@ -20,13 +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/latest/download/youtube-dl -o /usr/local/bin/youtube-dl - sudo chmod a+rx /usr/local/bin/youtube-dl +```shell +sudo curl -L https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl -o /usr/local/bin/youtube-dl +``` +```shell +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/latest/download/youtube-dl -O /usr/local/bin/youtube-dl - sudo chmod a+rx /usr/local/bin/youtube-dl +```shell +sudo wget https://github.com/ytdl-org/youtube-dl/releases/latest/download/youtube-dl -O /usr/local/bin/youtube-dl +``` +```shell +sudo chmod a+rx /usr/local/bin/youtube-dl +``` 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`).