yt-dlp

Shell

The URL must point to a valid YouTube video which will be actually downloaded.

yt-dlp 'https://www.youtube.com/watch?v=xxxxxxxxxxx' --exec '/bin/sh #'