gizdevlogo
  • NEWS
  • DEALS
  • TECH
  • HOW TO
  • DOWNLOADS
    • Stock Wallpapers
    • Stock Ringtones
    • THEMES
  • ANDROID
    • Rooting
    • TWRP Recovery
    • Unlock Bootloader
    • Custom Roms
    • Google Camera
  • UPDATES
    • OTA
    • Firmwares
No Result
View All Result
gizdevlogo
No Result
View All Result

How To Download YouTube Videos Using Terminal Emulator

by Abhishek
May 7, 2023
in Android, Apps
How To Download YouTube Videos Using Terminal Emulator

We have posted many articles on how to download YouTube videos. Most of them require third-party apps or sites which you have to download the APKs of it. But this method is unique, it may be a bit annoying for newbies but for those who want to try out some new cool things, this one is for them. Its easy and the terminal emulator is Android built-in, so you have to just download the Termux from PlayStore and follow the given instructions in this post. So follow the post to know, How To Download YouTube Videos Using Terminal Emulator.

Check out: Download Gradient EMUI 9 Theme for EMUI 9/8.0/5.0

Contents

  1. Terminal Emulator:
  2. Features:
  3. Download Termux Emulator:
  4. How To Download YouTube Videos Using Terminal Emulator:

Terminal Emulator:

It’s an Android built-in so you don’t need to download the other third-party apps. Just use the Termux emulator available on Play Store. Just some commands and do your video will be downloaded. Some may find it a bit messy as third-party apps give some more features and everyone is familiar with it. But its fun and really a cool thing to try. Thanks to XDA forum member ROOTBOY for this awesome trick. All credits go to him.

Features:

  • Up to 1200 sites supported
  • No need of root access
  • No need of any third-party app
  • No ads

So let’s head to instructions on How To Download YouTube Videos Using Terminal Emulator.

Recommended For You: Enable YouTube Red and Background Playback with Lucky Patcher

Download Termux Emulator:

Termux
Termux
Download QR-Code
Termux
Developer: Fredrik Fornwall
Price: Free

How To Download YouTube Videos Using Terminal Emulator:

1.) Firstly download the Termux emulator from the above play store link.

2.) Then allow the storage permission to the emulator. If you didn’t get the pop-up of storage permission then allow the permission. You can allow it from here. SETTINGS>>APPS>>TERMUX>>PERMISSIONS>>ENABLE STORAGE ACCESS

3.) Open the TERMUX app and type ”clear” and hit enter to clear the screen.

4.) Then you have to type the commands below one by one,

1.) apt-get update

2.) termux-setup-storage

3.) pkg install python

4.) pip install youtube-dl

5.) apt-get upgrade

5.) mkdir /data/data/com.termux/files/home/storage/shared/Youtube    (this command will make folder YOUTUBE to store the videos in this folder)

6.) mkdir -p ~/.config/youtube-dl

7.) apt-get install nano

8.) nano ~/.config/youtube-dl/config

Another page/window will open type below command.

8.) –no-mtime

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

10.) -f “best[height<=480]”

(replace the height 480 with 360, 720, 1080 according to which resolution video you want to download)

11.) Now press VOL DOWN + O and press enter. Now exit nano with VOL DOWN + X. Type the below command to continue.

12.) mkdir ~/bin

13.) cd ~/bin

14.) nano termux-url-opener

again new window/page will open

11.) youtube-dl $1

press VOL DOWN+X to exit. If it asks to save type Y to save.

Just copy and paste full below full code to TERMUX emulator,

wget http://pastebin.com/raw/W1nvzN6q -O install.sh

dos2unix install.sh

chmod u+x install.sh

./install.sh

Select the video quality
Paste the commands
Let the commands process

It will get installed for some time. After installation, Now just open any YouTube video in YouTube app and press the share button and select the TERMUX app. That’s it your video will be downloaded. Select the quality you want to download the video in!!

If you like the post don’t forget to share it!! Also, like our official Facebook page for more instant updates and some memes!!

Abhishek

Abhishek

A Mechanical Engineer, blogger, content writer, and digital marketer. A hardcore tech enthusiast. Loves to try out the new tech especially in the Android world. Apart from content writing, he loves gaming and traveling. Shoot a mail, to write your content.

Related Posts

Repair MTK IMEI with Modem META Tool

Latest Modem META Tool and Guide on How To Repair MTK IMEI

Root Spreadtrum Processor Android Devices with Magisk

How To Root Spreadtrum Processor Android Devices with Magisk

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

LATEST ON GIZDEV

CMF Phone 2 Pro Stock Wallpapers Share in Zip

Top 10 Cases Where an AI Video Enhancer Can Save Your Footage

Galaxy M05 & Galaxy M06 Wallpapers is here for Download

Exclusive OnePlus 13T Stock Wallpapers are Here in Zip

Leakedย Google Pixel 10 Stock Wallpapers Share before launch

How to Convert Images into Studio Ghibli Anime Images with ChatGpt, Grok & Other AI Tools

Samsung Galaxy S25 Edge Wallpapers is here for Download

Google Pixel 9a Stock Wallpapers Share in Zip

The Gizdev is a tech blog about the latest Android devices news, leaks and exclusive deals
In addition to this, Gizdev have the stock wallpapers, how to root guides & some of the awesome cool themes

CONTACT INFORMATION

ABOUT US

CONTACT US

PRIVACY POLICY

EDITORIAL POLICY

ยฉ 2022 GizDev. Made with โค๏ธ in India

No Result
View All Result
  • NEWS
  • DEALS
  • APPS
  • THEMES
  • WALLPAPERS
  • STOCK RINGTONES
  • GOOGLE CAMERA

ยฉ 2022 GizDev. Made with โค๏ธ in India