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.
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.
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
curl -fL --retry 2 https://github.com/wrestle-R/Spotify-Tui/releases/download/v0.5.3/download.py -o download.pyOpen download.py in your editor to review it, or use the command below. Press q to leave the reader before continuing.
less download.py2. 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.
python3 download.py download --version 0.5.3 \
--destination ./spotify-tui-0.5.3 && \
bash ./spotify-tui-0.5.3/install.shThis 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
~/.local/bin/spotify-tui version
~/.local/bin/spotify-tui-playback --version
~/.local/bin/spotify-tui --demoThe 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.
Both binaries report the same version, and the demo opens. Close the demo before continuing.
Next: sign inLet 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:
http://127.0.0.1:43821/callbackSave 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.
~/.local/bin/spotify-tui setup --client-id YOUR_PUBLIC_CLIENT_ID &&
~/.local/bin/spotify-tui loginKeep 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.
~/.local/bin/spotify-tui login --no-browserIf 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.
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 audioGive 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:
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" --versionIf 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.
~/.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.
~/.local/bin/spotify-tui provider-keyKeep 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
~/.local/bin/spotify-tui connect- Open the official Spotify app on this computer or another device on the same local network, signed in to the same account.
- Open its device picker and select Spotify TUI Local. Keep the helper running while you do this.
- Back in the terminal, check the connection:
~/.local/bin/spotify-tui doctorLook 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.
Doctor shows connected and paired. Keep the app’s data directory so this pairing can be restored after a restart.
Next: your first songPick a song. Hit Enter.
You can now close the official Spotify app. Open your installed terminal player:
~/.local/bin/spotify-tui- Use ↑ / ↓ to choose Liked Songs or a playlist.
- Press Enter to open it. Choose a song, then press Enter again to play.
- 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.
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 shortcutsKeys you’ll actually remember
| Key | Action |
|---|---|
| ↑ ↓ / j k | Move in the focused pane |
| Enter / → | Open collection; Enter on a song plays |
| Esc / ← | Back to library |
| Tab / Shift-Tab | Switch panes |
| / | Search; Enter submits, Esc cancels |
| Space | Pause / resume |
| n / p | Next / previous song |
| [ / ] | Seek five seconds |
| + / − | Change volume |
| c / L | Reconnect / browser sign-in |
| Ctrl-U | Check, install stable update and restart |
| q / Q | Quit, 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.
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.
~/.local/bin/spotify-tui check-updates
~/.local/bin/spotify-tui updateIn-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?
~/.local/bin/spotify-tui doctor
~/.local/bin/spotify-tui stop
~/.local/bin/spotify-tui tray-stopDoctor 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 ↗.