$linuxjunkies
>

spotify-launcher(1)

Launch Spotify desktop application from the command line with optional arguments.

UbuntuDebianFedoraArch

Synopsis

spotify-launcher [OPTIONS] [ARGUMENTS]

Description

spotify-launcher is a command-line wrapper that starts the Spotify desktop client application. It allows you to launch Spotify from the terminal with support for URI schemes, making it easy to open specific playlists, albums, or tracks directly from scripts or other applications.

The launcher handles initialization of the Spotify application and passes through arguments such as Spotify URIs (spotify:track:... format) for direct content playback.

Common options

FlagWhat it does
--helpDisplay help message and exit
--versionShow version information
--no-daemonRun Spotify in foreground instead of background
--uriOpen specified Spotify URI (e.g., spotify:track:ID)
--usernamePass username for automatic login
--passwordPass password for automatic login (not recommended)

Examples

Launch Spotify desktop application normally

spotify-launcher

Launch Spotify and play a specific track by its Spotify URI

spotify-launcher spotify:track:4cOdkLwLK6i33zt0BV2WT3

Open Spotify to a specific playlist directly

spotify-launcher spotify:playlist:37i9dQZF1DXcBWIGoYKl37

Launch Spotify in foreground mode for debugging or keeping terminal open

spotify-launcher --no-daemon

Launch Spotify in background and open a specific album

spotify-launcher spotify:album:0VjIjW4GlUZAMYd2vXMwbp &

Related commands