These commands require the Spotify desktop app to be open and running. They do not require API credentials or a Spotify Premium subscription.
Commands
| Command | Description |
|---|---|
spot now | Show the currently playing track with a progress bar |
spot pause | Pause playback |
spot resume | Resume playback |
spot toggle | Toggle between play and pause |
spot next | Skip to the next track |
spot prev | Skip to the previous track |
spot vol [0-100] | Set volume to a level, or show current volume if no argument |
spot shuffle [on|off] | Enable or disable shuffle, or show current state if no argument |
spot repeat [on|off] | Enable or disable repeat, or show current state if no argument |
Now playing
Pause, resume, and toggle
spot pause and spot resume print a confirmation line. spot toggle switches state silently.
Skip tracks
Volume
Shuffle
true/false or 1/0 in place of on/off.
Repeat
spot play -a turns repeat on. All other play commands — spot play -s, spot <query>, and spot play <query> — turn repeat off.