In this tutorial, we are going to see the method to Install youtube-dl on Termux Terminal Emulator for Android.

Already we Publish the Method to Install youtube-dl on Ubuntu - youtube-dl Software Helps us to Download the Videos & Audios from Youtube in Different Formats.

Download Youtube videos on your Android device by using's very to install & download the youtube videos & audio From the Command Line with youtube-dl.

Table of Contents

  1. Package Requirements
  2. Install youtube-dl
  3. Install via Shell Script
  4. Install via cURL
  5. How to use?
  6. Uninstall


pkg install ffmpeg

Install youtube-dl on Termux

  • Open the termux APP
  • Install youtube-dl via cURL
curl -L -o /data/data/com.termux/files/usr/bin/youtube-dl
  • Give Permission to Execute the Script
chmod a+rx /data/data/com.termux/files/usr/bin/youtube-dl
  • Verify your Installation
which youtube-dl

Install youtube-dl on Termux

  • Learn More about youtube-dl Command Line tool
youtube-dl --help
  • Update Youtube-dl
chmod a+rx /data/data/com.termux/files/usr/bin/youtube-dl
youtube-dl -U

Shell Script to Download youtube-dl

Bash Shell Script to youtube-dl on Termux Terminal Emulator

Download via cURL

Download and Install via cURL Command

curl -sL | bash


Youtube Video and Audio Downloader for Android.

Download youtube videos


List the Video Formats

youtube-dl --list-formats YOUTUBEVIDEOURL

Download youtube video by using Format code


Download as MP3

youtube-dl --extract-audio --audio-format mp3 YOUTUBE VIDEO URL
Install youtube-dl on Termux

Uninstall youtube-dl

Uninstall youtube-dl from Termux

  • Installed Location - /data/data/com.termux/files/usr/bin/
  • Goto youtube-dl installed location
cd /data/data/com.termux/files/usr/bin/
  • Remove/uninstall youtube-dl Software
rm youtube-dl

From the Editor's Desk

Hope this tutorial will help your install youtube-dl command line tool on Android by using termux.
If you have doubts feel free to comment here I will guide you.