mps-youtube, mpsyt command
https://github.com/mps-youtube/mps-youtube
Youtube-dl in ubuntu repositories might be outdated.
Download updated one directly from github
https://github.com/ytdl-org/youtube-dl/
or install via pip3 and create a symbolic link /usr/bin/youtube-dl
Needed your own api key, follow this steps:
https://rapidapi.com/blog/how-to-get-youtube-api-key/
Once got you can set it inside the application using the command:
set api_key <key>
or editing the next file (be careful it's binary)
~/.config/mps-youtube/config