Skip to main content

Command Palette

Search for a command to run...

Download youtube video from command line

Published
1 min readView as Markdown
S

Love to read books, write about Tech and self help. YC W2020. Love hacking and creating simple tools.

youtube-dlyoutube-dl is a small command-line program to download videos from YouTube.com. It requires the Python interpreter (2.6, 2.7, or 3.3+), and works on all platform.

To install on windows [click here

](https://yt-dl.org/downloads/2014.11.21.1/youtube-dl.exe)

To install it right away for all UNIX users (Linux, OS X, etc.), type:

sudo curl https://yt-dl.org/downloads/2014.11.21.1/youtube-dl -o /usr/local/bin/youtube-dl
sudo chmod a+x /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/2014.11.21.1/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl

For more information you can read at https://rg3.github.io/youtube-dl/index.html

More from this blog

Food for thought

615 posts

Love to read books, write about Tech and self help. YC W2020. Love hacking and creating simple tools.