WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2025 Poal.co

923

Inspired by

Get Termux

from or . Never install Termux from a third-party source! Play Store releases are depreciated and a security risk.


Installation

Allow termux to download files into your phone's storage

  • termux-setup-storage

Update all packages

  • pkg update && pkg upgrade

Install python

  • pkg install python

Install yt-dlp

  • pip install -U yt-dlp

OPTIONAL: Install ffmpeg

  • pkg install ffmpeg

To update, run:

  • pip install -U yt-dlp

Usage

yt-dlp https://youtu.be/IwdUT5vKnyY

To disable your shell from interpreting the ampersands (or any other special characters) you have to either put the whole URL in quotes or escape them with a backslash (which approach will work depends on your shell).

For example if your URL is https://www.youtube.com/watch?t=4&v=BaW_jenozKc you should end up with following command:

yt-dlp "https://www.youtube.com/watch?t=4&v=BaW_jenozKc"

Quotes around url

or

yt-dlp https://www.youtube.com/watch?t=4\&v=BaW_jenozKc

Use an escape character \&


Files

Downloaded files will be located at: /data/data/com.termux/files/home or /data/user/0/com.termux/files/home

To list files in the home dir from Termux ls or ls ./ or ls ~

To move files to internal storage from Termux home folder mv "./videoName.videoExt" "/storage/emulated/0/Download/videoName.videoExt"

Inspired by [this post](https://poal.co/s/TellPoal/615873) ## Get Termux from [F-Droid](https://f-droid.org/en/packages/com.termux) or [Github](https://github.com/termux/termux-app/releases). Never install Termux from a third-party source! Play Store releases are depreciated and a security risk. --- ## Installation Allow termux to download files into your phone's storage - `termux-setup-storage` Update all packages - `pkg update && pkg upgrade` Install python - `pkg install python` Install yt-dlp - `pip install -U yt-dlp` OPTIONAL: Install ffmpeg - `pkg install ffmpeg` To update, run: - `pip install -U yt-dlp` --- ## Usage `yt-dlp https://youtu.be/IwdUT5vKnyY` To disable your shell from interpreting the ampersands (or any other special characters) you have to either put the whole URL in quotes or escape them with a backslash (which approach will work depends on your shell). For example if your URL is https://www.youtube.com/watch?t=4&v=BaW_jenozKc you should end up with following command: `yt-dlp "https://www.youtube.com/watch?t=4&v=BaW_jenozKc"` Quotes around url or `yt-dlp https://www.youtube.com/watch?t=4\&v=BaW_jenozKc` Use an escape character `\`& --- ## Files Downloaded files will be located at: `/data/data/com.termux/files/home` or `/data/user/0/com.termux/files/home` To list files in the home dir from Termux `ls` or `ls ./` or `ls ~` To move files to internal storage from Termux home folder `mv "./videoName.videoExt" "/storage/emulated/0/Download/videoName.videoExt"`

(post is archived)