There are tons ofonline site and Android apps , that let you download videos from the Internet . But how about we do this , with Android terminus ( No ROOT required ) . Sounds geeky ? Well , let ’s see how to do it .

Related:3 Ways to Loop YouTube Videos on Android and iOS

vantage

Download-Any-Videos-on-the-Internet-with-Android-Terminal-1

disadvantage

So , how is it going to work ?

Well , say , you are watching any videoin the YouTube app and you require to download it . So just tap on the part icon on the top rightfulness . Select termux app . This will set in motion a terminal emulator , and incline some commands . And that ’s it , your video is downloaded , in the YouTube leaflet of file manager

Download-Any-Videos-on-the-Internet-with-Android-Terminal–2

This methodsupport around 1250 sites include all the popular picture website – YouTube , Vimeo , Facebook ,   vellication etc . you may curb out the sodding inclination onYouTube - dl supported site page .

I extremely recommend you watch thefollowing telecasting first , in this post , I ’ll be explaining the footstep and fixing some common error that you might get while test the method . So , allow ’s get started , shall we ?

https://www.youtube.com/watch?v=G9esVzxLdtU

Download-Any-Videos-on-the-Internet-with-Android-Terminal–3

Download Any Videos on the Internet with Android Terminal

Step 1

point over to Google play Store and download any last emulator app . For this instance , let ’s go with Termux .

Step 2

Now , since it ’s our first - prison term setup , we’ll have to type in some final dictation . Do n’t worry , all these commands are simple . And do n’t expect any stem memory access . You candownload this file(Google ride ) and written matter paste them one by one to your terminus .

If you have ever work in the terminal , you might make out , it ’s always a good deal to revise your depository . So , character

apt update & & apt upgrade

Download-Any-Videos-on-the-Internet-with-Android-Terminal–4

and then pressYto confirm changes .

( Note : If   you get an errorapt - get : not found , scroll down the end of the clause , I ’ll have all solutions there )

Step 3

Next , you take to give termux access to your gimmick ’s filesystem , Sotype in follow command and pressure enter .

Termux - apparatus - storage

Step 4

Next , we require to put in YouTube - dl parcel , that will do all the magic in the background . But , YouTube - dl needs python to play . So , first , you need to set up python .

packages install python

Step 5

Okay , now we are quick to establish YouTube - dl

pip install youtube - dl

Step 6

Now , even if you have YouTube - dl , you still necessitate to tell it , where to save all the downloaded television . And which resolution to download . So , first let ’s make a folder to store your downloaded television

mkdir /data / data / com.termux / files / menage / storage / shared / Youtube

Now , if you go to the ascendant of your internal storage , you should see a folder calledYouTube .

Download-Any-Videos-on-the-Internet-with-Android-Terminal–5

Step 7

Now come in back to the terminus . We have to recite YouTube - dl — ‘ Whenever I ’m downloading a YT video , it should have this default name and this resolution ’

And to do this , we ’ll , create config files and bestow all the rule in it . So , to create a config file . typewrite this program line .

mkdir -p ~/.config / youtube - dl

Download-Any-Videos-on-the-Internet-with-Android-Terminal–6

Step 8

Now , to lend rules to this config file , we ask some final editor . You just merely ca n’t write stuff like you normally do . So instal nano school text editor in chief with the undermentioned command

apt - get install nano

Step 9

Okay , now we add prescript to the config file . give it withnano editor program with this command .

nano ~/.config / youtube - decilitre / config

Step 10

And copy - paste the play along rule i.e. what is the nonpayment download brochure , title of respect , and settlement . For this example , I ’m kick the bucket with 480p , which obviously , you’re able to replace with 360 , 720 or 1080p . If you want to download only audio , use 140 , more on that at the end of this clause .

– no - mtime

-o /data / data / com.termux / files / home / storage / shared / Youtube/%(title)s.%(ext)s

Download-Any-Videos-on-the-Internet-with-Android-Terminal–7

-f “ best[height<=480 ] ”

Now , usually , to bring through changes we doCTRL + S right . But since , we do n’t have any CTRL key on Android . These final aper use vol down key as CTRL samara . So , keep your changes and buy the farm the app   wardrobe use the following control .

“ Volume - down ” + Oto save change and pressenter .   And then shut nano with“Vol - down ” + X

Download-Any-Videos-on-the-Internet-with-Android-Terminal&ndash;8

Step 11

Okay , now once are back in the editor . You need to do one final thing i.e. linking Youtube - dl terminal command with the share menu of Youtube or(any app for that matter )

Again , we necessitate to make a file and add rules in it . Just like we did in the old step . So , type this command

mkdir ~/bin

Termux-download

cd ~/bin

nano termux - uniform resource locator - unfastener

Step 12

So , far we have created a bank identification number leaflet and in that , we have created a new file called – termux - universal resource locator - untier . This will start the nano editor , glue the following command in it .

youtube - dl $ 1

Save with “ Volume - down ” + O , pressEnter , and then close nano with “ Vol - down ” + XTC

Download-Any-Videos-on-the-Internet-with-Android-Terminal&ndash;9

Now, let’s test it

OpenYouTubeapp(remember it process for any app though , as long as you get share option),click the “ Share ” link under the television and prefer “ Termux “ . The download will start and once finished . you’re able to discover it under the YouTube folder .

Common Problems and their solutions

1 . no command ‘ apt - get ’ determine , did u mean : command ‘ apt - get ’ from software package ‘ apt ’

Chances are you are typing Apt - get instead of apt - get . Most keyboard app capitalizes the first letter . Terminal is fount raw

2 .   mkdir : ca n’t create directory ‘ /data / data / com.termux / files / home / storage / shared / Youtube ’ : No such single file or directory

Download-Any-Videos-on-the-Internet-with-Android-Terminal&ndash;10

Either you already have a folder with the name YouTube in your internal memory board or you have not givenstorage accessto termux properly . check that you are not using any screen overlay app like screen recorder or Deskdock etc . If you are , then disable them temporary and rewrite the store entree code i.e. termux - apparatus - storage

3 . What are the code to download the audio

Thanks to YouTube user – for provide the tip ,   If you want to download only audio replace “ best[height<=480 ] ” with 140 so in the last , you will have -f 140 rather of -f “ best[height<=480 ] . I tried it and it solve very well .

Download-Any-Videos-on-the-Internet-with-Android-Terminal&ndash;11

4 . How to get pop - up options with different download data formatting like 360 , 480 , 720p etc , like you get in YouTube downloader app ?

touch : How Much Money do YouTubers make ? Answered by YouTubers

Android 16 Is Coming: 6 New Security Features to Keep…

Android 16 Bubble Bar: 7 Things Google Could Add To…

Google Accidentally Reveals Material 3 Expressive: Android’s Future and it…

5 Features We Hope to See in Google’s Desktop Mode…

Small Phones Are Making a Big Comeback: Why Now?

The Great Android Exodus: Chinese Smartphone Makers Plan To Build…

13 Surprisingly Useful Underrated Android Apps (May 2025)

How to use Gboard’s New “Browse” Feature for Emoji Kitchen…

How to Find Clipboard on iPhone and Android (Including Samsung)

Android Auto Icons and Symbols Meaning – Complete Guide

Download-Any-Videos-on-the-Internet-with-Android-Terminal&ndash;12

Download-Any-Videos-on-the-Internet-with-Android-Terminal&ndash;14

Download-Any-Videos-on-the-Internet-with-Android-Terminal&ndash;15

Download-Any-Videos-on-the-Internet-with-Android-Terminal&ndash;13