music icon indicating copy to clipboard operation
music copied to clipboard

Play Music via the Command Line

Music

Aren't you tired of constantly switching between your text editor, terminal, browser, and Spotify? Well, now you can search through Spotify in your terminal while you code! Here's how:

Installation

Get Spotify.

$ [sudo] npm install music -g

Usage

$ music play drake

Input the number of the track you'd like to hear and hit enter.