A command-line interface to Spotify on Linux.
This project is inspired by the similar project called shpotify, which does similar things, but on macOS.
with wget:
sh -c "$(wget https://raw.githubusercontent.com/pwittchen/spotify-cli-linux/master/install.sh -O -)"
with curl:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/pwittchen/spotify-cli-linux/master/install.sh)"
run the following command from your terminal:
spotify-cli
use one of the following parameters:
--help, -h shows help
--status shows status (currently played song name and artist)
--play plays the song
--pause pauses the song
--playpause plays or pauses the song (toggles a state)
--next plays the next song
--previous, --prev plays the previous song
--volumeup increases sound volume
--volumedown decreases sound volume