# yt-dlp on Termux
```termux-setup-storage```
```pkg install -y python```
```pkg install -y ffmpeg```
```pkg update```
```python3 -m pip install -U yt-dlp```
```mkdir /data/data/com.termux/files/home/storage/shared/Videos```
```mkdir -p ~/.config/yt-dlp```
```echo "-S ext:mp4:m4a,res:720 -o /data/data/com.termux/files/home/storage/shared/Download/%(title)s.%(ext)s --no-mtime" > ~/.config/yt-dlp/config```
```mkdir ~/bin```
```cd ~/bin```
```echo yt-dlp \$1 > termux-url-opener```