What command line tool can I install on a Mac to play music?
Solution 1:
There is already a command line tool installed. The command is afplay and you run it by typing:
afplay /path/to/audiofile.mp3
This link describes better how to use this tool. https://osxdaily.com/2009/10/27/play-mp3s-and-other-music-from-the-command-line/