https://github.com/yt-dlp/yt-dlp
On windows I recommend using the Windows Terminal
With the Windows Terminal installed you can right click the empty space in the Windows Explorer directory and open the terminal in the folder you want to download to.
or just enter cd C:\Path\To\The\Video\Download\Folder
Installing / Updating
For windows simplest would be to use winget as its installed by default on windows
Installing
winget install yt-dlp
Updating (Update frequently or if there are issues)
winget upgrade yt-dlp
If you have issues downloading a video make sure to update yt-dlp. Youtube changes things that break the downloader often.
Downloading
yt-dlp https://www.youtube.com/REPLACE URL WITH LINKAny youtube video link will work. Playlists, and the videos tab of a channel will work. https://www.youtube.com/@derrikcreates/videos is a valid link that that will tell yt-dlp to download every video.
Downloading as mp3
ffmpeg is required for ytdlp to convert
winget install ffmpeg
`yt-dlp -x —audio-format mp3 https://www.youtube.com/REPLACE URL WITH LINK