download using python
brew install yt-dlp ffmpeg
command
yt-dlp -x --audio-format mp3 -o "%(title)s.%(ext)s" "YOUTUBE_URL"
save it to .bash_profile as a function (remember to source)
ytmp3() {
yt-dlp -x --audio-format mp3 --audio-quality 0K -o "%(title)s.%(ext)s" "$1"
}