MPS – How to Listen to Music from the Command Line

If you’re a fan of music and the command line, I have a solution for all you bearded cotton swabs out there!

It’s called MPS, and it’s an app for your Linux, OSX, and even Windows devices that allows you to search for music (albums, songs, artists, etc.), create playlists, download these songs, and play them thanks to MPlayer. I have the impression that the recovered pieces come from prostopleer


To install it, it’s super simple; you just have to have “pip” and make a

sudo pip install mps

Also, install MPlayer right away.

Then, to do a search, just put a “/” in front of your keyword. You will then get a list of numbered songs. To get the best quality ones, add +best to the order.

For example: /lana +best

To play them all, type “all”. To play only songs (for example) 4, 8, and 9, simply type 4,8,9 in MPS.

To play songs from 2 to 10, type 2-10, and to do sequences, put commas. For example, “2-4, 6-8, 10-12” will play songs 2, 3, 4, 6, 7, 8, 10, 11, and 12.

To download the song, simply press “d” followed by the song number.

For the rest of the commands, especially regarding the creation and management of playlists, I invite you to click.

Mohamed SAKHRI
Mohamed SAKHRI

I'm the creator and editor-in-chief of Tech To Geek. Through this little blog, I share with you my passion for technology. I specialize in various operating systems such as Windows, Linux, macOS, and Android, focusing on providing practical and valuable guides.

Articles: 1378

Newsletter Updates

Enter your email address below and subscribe to our newsletter

Leave a Reply

Your email address will not be published. Required fields are marked *