---
sidebar_position: 62
---
#   Youtube-dl 
 <p align = "center">  
 <img src="https://www.plat4om.com/wp-content/uploads/2020/10/WhatsApp-Image-2020-10-28-at-16.21.51.jpeg" height="250" width=
 "400"/></p>      
  
`Youtube-dl` is an open-source YouTube downloader application which is used to download video and audio from YouTube and has over also 1000 video hosting websites. It is one of the most starred projects on `GitHub`. About 308 packages and 1.43k repositories depend on youtube-dl according to libraries io. It is written in `Python`. It supports GNU/Linux, Microsoft Windows and Mac OS.   
    
## Installation of Youtube-dl On Linux:
1. The officially recommended way to install Youtube-dl is firstly download, then save it in your `$PATH`, and make it executable and thus you are good to go to use it.
```
   $ sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
```
 Use wget  in case you don't have curl:

```
   $ 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
```   
## Installation of Youtube-dl using Pip:
```
$ sudo -H pip install --upgrade youtube-dl
```   
## Download videos in specific quality:
Youtube-dl download the best quality video by default. But you can also download a video or playlist at a certain quality.   
Following qualities are available to download video via YouTube:  
* best - It select the best quality video and audio.
* worst - It select the worst quality video and audio.
* bestvideo - It select the best quality video which may not be available.
* worstvideo - It select the worst quality video which also may not be available.
* bestaudio - It select the best quality audio which may not be available.
* worstaudio - It select the worst quality audio which may not be available.   
## Some open source projects of youtube-dl on github are:
* Yt Dlp
* Youtube Dl Gui
* Ytmdl
* Hitomi Downloader
* Alltube
* Firedm
* Youtube Dl Interactive
* Youtube Dlc
* Khan Dl
* Auto Editor