Thank you, how do I run this as I don't have any expereience in running code and currently I am using a mac.
You should be able to install it with homebrew
Brew update; brew upgrade; brew install ffmpeg; brew install yt-dlp; yt-dlp -x --audio-format mp3 'http://YouTube.com/yourchannel'