]> jfr.im git - yt-dlp.git/commitdiff
[Documentation] Inclusion of two-line install script for Unix (#155)
authorAshish <redacted>
Sun, 7 Mar 2021 09:59:01 +0000 (15:29 +0530)
committerGitHub <redacted>
Sun, 7 Mar 2021 09:59:01 +0000 (15:29 +0530)
Closes #83
Authored-by: Ashish <redacted>
ci skip all

README.md

index b9ec74f11f75751ba65192da76c64d50c51bf4c9..f9005118c7ef202982cc3cbd420c1e5a9121d10a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -103,6 +103,23 @@ # INSTALLATION
 * Use pip+git: `python -m pip install --upgrade git+https://github.com/yt-dlp/yt-dlp.git@release`
 * Install master branch: `python -m pip install --upgrade git+https://github.com/yt-dlp/yt-dlp`
 
+UNIX users (Linux, macOS, BSD) can also install the [latest release](https://github.com/yt-dlp/yt-dlp/releases/latest) one of the following ways:
+
+```
+sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
+sudo chmod a+rx /usr/local/bin/yt-dlp
+```
+
+```
+sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp
+sudo chmod a+rx /usr/local/bin/yt-dlp
+```
+
+```
+sudo aria2c https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp
+sudo chmod a+rx /usr/local/bin/yt-dlp
+```
+
 ### UPDATE
 Starting from version `2021.02.09`, you can use `yt-dlp -U` to update if you are using the provided release.
 If you are using `pip`, simply re-run the same command that was used to install the program.