The full documentation is available at rubydoc.info. Note that some tests actually hit the YouTube API, and therefore require either an API key or authentication credentials. In order to run tests ...
For ease of use, a few more compat options are available: sudo curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp sudo ...