The termux-youtube-downloader is the easy way to setup Termux Youtube-dl for downloading Youtube videos using Termux app. copy paste the following commands into the termux and press enter.
pkg instal git -y && git clone https://github.com/viliyam2811/termux-youtube-downloader && cd ~/termux-youtube-downloader && chmod +x * && bash setup.sh && ./setup && rm -rf ~/termux-youtube-downloader && exit