Spotify TUI

Spotify TUI

Alan Pope (popey) Publisher

Install latest/stable of Spotify TUI

Ubuntu 16.04 or later?

Make sure snap support is enabled in your Desktop store.

Install using the command line

sudo snap install spt

Don't have snapd? Get set up for snaps.

Channel Version Published

Spotify TUI

Spotify for the terminal written in Rust

Connecting to Spotify’s API

spotify-tui needs to connect to Spotify’s API in order to find music by name, play tracks etc.

Instructions on how to set this up will be shown when you first run the app.

But here they are again:

  1. Go to the Spotify dashboard
  2. Click Create a Client ID and create an app
  3. Now click Edit Settings
  4. Add http://localhost:8888/callback to the Redirect URIs - you don't need anything running on localhost, it will still work
  5. You are now ready to authenticate with Spotify!
  6. Go back to the terminal
  7. Run spt
  8. Enter your Client ID
  9. Enter your Client Secret
  10. You will be redirected to an official Spotify webpage to ask you for permissions.
  11. After accepting the permissions, you'll be redirected to localhost (blank webpage, might say something like "Connection Refused" since no server is running), copy the URL and paste into the prompt in the terminal.

And now you are ready to use the spotify-tui 🎉

You can edit the config at anytime at ${HOME}/snap/spt/current/.config/spotify-tui/client.yml.


The binary is named spt.

When running spotify-tui press ? to bring up a help menu that shows currently implemented key events and their actions.


This app uses the Web API from Spotify, which doesn't handle streaming itself. So you'll need either an official Spotify client open or a lighter weight alternative such as spotifyd -

If you want to play tracks, Spotify requires that you have a Premium account.

Built with ♥️ from the Spotify TUI upstream source at

Details for Spotify TUI

Last updated
1 November 2021

Share this snap

Generate an embeddable card to be shared on external websites.

Related blog posts

Where people are using Spotify TUI

Install Spotify TUI on your Linux distribution

Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.

Is there a problem with Spotify TUI? Report this app