With the Termux + PyPi repositories you can do basically the same as you would do in a normal Linux terminal and it’s great.
I’m not a fan of having many apps on my phone and with Termux I can have yt-dlp, ffmpeg and even magick to do almost anything I want, it’s just great and I don’t know how Termux is not more popular, I hope more people will find sense in it and use it too if they see a use for it.
How are you using yt-dl (github)? Scripts?
Just install Python with pkg and then
python3 -m pip install --upgrade yt-dlp
pipx!