mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-21 10:50:11 +09:00
parent
535e63b662
commit
c9e5172297
12
README.md
12
README.md
@ -20,23 +20,23 @@ youtube-dl - download videos from youtube.com or other video platforms
|
||||
|
||||
To install it right away for all UNIX users (Linux, macOS, etc.), type:
|
||||
|
||||
su -c "curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl"
|
||||
su -c "chmod a+rx /usr/local/bin/youtube-dl"
|
||||
sudo curl -L https://yt-dl.org/downloads/latest/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:
|
||||
|
||||
su -c "wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl"
|
||||
su -c "chmod a+rx /usr/local/bin/youtube-dl"
|
||||
sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /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`).
|
||||
|
||||
You can also use pip:
|
||||
|
||||
su -c "python3 -m pip install --upgrade youtube-dl"
|
||||
sudo -H python3 -m pip install --upgrade youtube-dl
|
||||
|
||||
If you want to be on the cutting edge, you can also install the master branch with pip:
|
||||
|
||||
su -c "python3 -m pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/master.tar.gz"
|
||||
sudo -H python3 -m pip install --force-reinstall https://github.com/ytdl-org/youtube-dl/archive/master.tar.gz
|
||||
|
||||
This command will update youtube-dl if you have already installed it. See the [pypi page](https://pypi.python.org/pypi/youtube_dl) for more information.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user