my-env/install/youtube-dl
2022-10-05 11:30:31 +08:00

14 lines
393 B
Bash
Executable File

#!/bin/bash
##makedesc: Install youtube-dl
# https://github.com/ytdl-org/youtube-dl#installation
echo
echo "==============================================="
echo "Installing youtube-dl..."
echo "==============================================="
echo
sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o "${HOME}/.local/bin/youtube-dl"
sudo chmod +rx "${HOME}/.local/bin/youtube-dl"