GET STARTED / v0.5.3

A few steps.
Then hit play.

Install the player, connect your library, pair the audio engine, then play your first song. Here’s the whole route.

BEFORE YOU START

Two connections. One account.

You’ll need Spotify Premium, a normal browser, and either Linux x86_64 (glibc 2.39+) or an Apple Silicon Mac (macOS 15+). Python 3.9+ is needed for installation.

Your library
A Spotify Developer app’s public client ID lets browser sign-in load playlists, liked songs and search.
Your audio
Spotify’s separate Soloist engine and your private personal Soloist key play songs on this computer. It needs one-time device pairing.

Use the same Spotify account for both. Credentials stay in your desktop keyring (Linux) or Keychain (Mac). This website has no sign-in form and never asks for your password or keys.

Current limits →

01 / INSTALL

Start with the player.

Linux x86_64 with glibc 2.39+. Audio needs PipeWire or PulseAudio. ARM Linux isn’t included in this release.

Both platforms need Python 3.9+, curl and a terminal. The downloaded app itself doesn’t need Go, Rust or Python. No sudo.

1. Download the installer

Download script
curl -fL --retry 2 https://github.com/wrestle-R/Spotify-Tui/releases/download/v0.5.3/download.py -o download.py

Open download.py in your editor to review it, or use the command below. Press q to leave the reader before continuing.

Review script
less download.py

2. Download and install the matching pair

The downloader selects this computer’s OS and architecture, verifies the archive checksum, then extracts it. The installer runs only if that succeeds.

Download and install
python3 download.py download --version 0.5.3 \
  --destination ./spotify-tui-0.5.3 && \
  bash ./spotify-tui-0.5.3/install.sh

This installs the player and its Rust helper under ~/.local, keeping older builds for rollback. You can use the full commands below without changing your PATH.

Already downloaded it, or prefer a manual archive?

If spotify-tui-0.5.3 already exists from a successful download, run its install.sh again. If it was an incomplete attempt, choose a new destination and use that same directory in the installer command. The downloader never overwrites an existing directory.

Download Linux x86_64 archive. Extract the archive, open a terminal inside its folder and run bash ./install.sh. Checksums and all release files ↗.

3. Check the installation

Verify installed pair
~/.local/bin/spotify-tui version
~/.local/bin/spotify-tui-playback --version
~/.local/bin/spotify-tui --demo

The two version commands should both report 0.5.3. The demo should open with sample music. It has no audio; press q to close it.

Ready for sign-in?

Both binaries report the same version, and the demo opens. Close the demo before continuing.

Next: sign in
02 / SIGN IN

Let the player see your library.

1. Create or select your Developer app

Open the Spotify Developer dashboard ↗ in your usual browser. Create or select your app, enable Web API access, and register this exact Redirect URI:

Redirect URI
http://127.0.0.1:43821/callback

Save the dashboard changes. If its User Management page requires an allowlist, add the Spotify account you’ll sign in with. Copy the public client ID from the app’s settings. You don’t need its client secret.

2. Save the client ID, then sign in

Replace YOUR_PUBLIC_CLIENT_ID below with that ID. Don’t use the app name or client secret.

Connect your library
~/.local/bin/spotify-tui setup --client-id YOUR_PUBLIC_CLIENT_ID &&
~/.local/bin/spotify-tui login

Keep the terminal command running. Your normal browser opens Spotify’s consent page. Approve access and let it return to the local callback on this computer. Login should finish within five minutes.

You’re done when the terminal says: Signed in for library/search. Soloist pairing is separate. Audio comes next.

Browser didn’t open, or verification failed?

Use a normal browser outside an embedded app. Run the command below, then open the printed URL on this same computer. If five minutes have passed, start a fresh login command for a new URL.

Open sign-in manually
~/.local/bin/spotify-tui login --no-browser

If Spotify rejects the callback, check http://127.0.0.1:43821/callback matches the saved dashboard URI exactly, including the port and path. Don’t replace 127.0.0.1 with localhost.

Library connected.

Browser login has finished successfully in your terminal. Keep that app’s client ID; the next step adds audio to the same configuration.

Next: pair the audio
03 / PAIR

Give your music somewhere to play.

1. Download the official audio engine

Open Spotify’s official Soloist downloads ↗ and download x86_64 Linux to your Downloads folder. Soloist is Spotify’s audio engine and is downloaded separately.

The expected filename is soloist_release_x86_64.tar.gz. These commands extract it into a stable location, then check it starts:

Install official audio engine
mkdir -p "$HOME/.local/lib/spotify-soloist" && \
  tar -xzf "$HOME/Downloads/soloist_release_x86_64.tar.gz" \
    -C "$HOME/.local/lib/spotify-soloist" && \
  "$HOME/.local/lib/spotify-soloist/soloist" --version

If your browser saved the archive elsewhere, adjust the path after -xzf. Continue when Soloist prints its version. Its location must stay the same after setup.

2. Connect Soloist to this player

This adds the Soloist path to the configuration you saved in step 2. It keeps your client ID.

Set audio engine path
~/.local/bin/spotify-tui setup --soloist-path "$HOME/.local/lib/spotify-soloist/soloist"

3. Store your personal key

Generate your personal Soloist key ↗ while signed in to your Premium account. Run the next command and paste the key into its hidden terminal prompt, then press Enter. Nothing is shown while you type.

Store audio key
~/.local/bin/spotify-tui provider-key

Keep the key private. Don’t put it in a command argument, screenshot, chat or this website. The public client ID from step 2 and this private key are different things.

4. Start the engine and pair once

Start local audio
~/.local/bin/spotify-tui connect
  1. Open the official Spotify app on this computer or another device on the same local network, signed in to the same account.
  2. Open its device picker and select Spotify TUI Local. Keep the helper running while you do this.
  3. Back in the terminal, check the connection:
Check pairing
~/.local/bin/spotify-tui doctor

Look for Provider connected: true paired: true. A fresh engine may take a moment to connect; run doctor again after it settles.

Spotify TUI Local isn’t in the picker?

Confirm Soloist printed its version, the key was stored, and connect is still running its helper. Use the same account and a shared Wi-Fi/local network. Phone USB tethering and mobile data can make discovery unreliable; try the official client on this computer for initial pairing. See troubleshooting before deleting any credentials.

Ready to play?

Doctor shows connected and paired. Keep the app’s data directory so this pairing can be restored after a restart.

Next: your first song
04 / PLAY

Pick a song. Hit Enter.

You can now close the official Spotify app. Open your installed terminal player:

Open your player
~/.local/bin/spotify-tui
  1. Use ↑ / ↓ to choose Liked Songs or a playlist.
  2. Press Enter to open it. Choose a song, then press Enter again to play.
  3. Press Space to pause or resume. Press / to search and Esc to return.

q closes the TUI and keeps music playing. Q stops audio and quits. On Linux, the tray appears if your panel supports it. Mac runs without a tray.

You’re set when you can hear it.

The TUI’s Playing/Paused label should match the actual audio with the official player closed. If the saved session stalls later, press c to reconnect.

Meet the shortcuts
REFERENCE / MAKE YOURSELF AT HOME

Keys you’ll actually remember

KeyAction
↑ ↓ / j kMove in the focused pane
Enter / →Open collection; Enter on a song plays
Esc / ←Back to library
Tab / Shift-TabSwitch panes
/Search; Enter submits, Esc cancels
SpacePause / resume
n / pNext / previous song
[ / ]Seek five seconds
+ / −Change volume
c / LReconnect / browser sign-in
Ctrl-UCheck, install stable update and restart
q / QQuit, keep music / stop music and quit
?Full keyboard help

The tray

The player starts a small tray companion when your panel has a StatusNotifier host. Left-click opens the TUI; the menu offers pause/resume, next, previous, and stop. q leaves music and tray running; Q stops both.

On Hyprland, enable the tray component in Quickshell or your panel. GNOME may need an AppIndicator extension. The app doesn’t install or modify your panel configuration. Run spotify-tui doctor to check the host, or spotify-tui --no-tray to skip the tray. Opening from the tray requires Kitty, Foot, Alacritty, Konsole, GNOME Terminal or xterm.

UPDATES / KEEP IT CURRENT

Stay in the terminal

The app checks the latest stable release in the background when opened. When an update is available, press Ctrl-U. It downloads the archive, verifies SHA-256 and both executable versions, switches the installed pair together, then restarts. Existing build directories stay available for rollback.

Commands
~/.local/bin/spotify-tui check-updates
~/.local/bin/spotify-tui update

In-app updates need the managed installation from install.sh. They don’t overwrite source builds. A failed download or verification leaves the installed version intact. No automatic installation happens without Ctrl-U or the update command.

If something gets stuck

The device isn’t in Spotify’s picker

Run spotify-tui connect, then spotify-tui doctor. Both devices need local-network reachability. Discovery across phone USB tethering can be unreliable; try Spotify on this computer for the initial pairing. Don’t delete credentials or provider data first.

No library or search results

Press L or run spotify-tui login again. Check your client ID, redirect URI and allowed users in the developer dashboard. Spotify can restrict reading followed or curated playlists.

No keyring available

On Linux, start a desktop secret service such as GNOME Keyring or KWallet and unlock it. On Mac, resolve the normal Keychain consent prompt. There is an explicit plaintext fallback described in the repository setup guide; it is not enabled by default.

Need diagnostic commands?
Commands
~/.local/bin/spotify-tui doctor
~/.local/bin/spotify-tui stop
~/.local/bin/spotify-tui tray-stop

Doctor reports status without printing your keys. Read the full setup guide ↗ for build instructions and integration caveats.

What’s still missing

Search currently returns ten results, and long-session memory testing is still pending. Explore, search history, mouse controls, collection sequencing and Linux MPRIS media controls are available from v0.5.0. Hold i in the terminal for shortcuts. Connectivity and Soloist session restoration can occasionally stall. Press c to reconnect.

This project does not promise ad-free playback for Free accounts. Each installation needs its own valid provider setup. See verification details ↗.