# Install spotifyd with Homebrew, apk, Nix, pacman, zypper

Spotify daemon. Version 0.4.2 via Homebrew; verified 2026-06-09. Also installable with nix: nix profile install nixpkgs#spotifyd.

## Install

```sh
sudo av install brew:spotifyd
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install spotifyd
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add spotifyd
```

  Evidence: Alpine Linux edge package indexes: spotifyd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#spotifyd
```

  Evidence: nixpkgs package indexes: pkgs/by-name/sp/spotifyd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S spotifyd
```

  Evidence: Arch Linux sync databases: spotifyd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install spotifyd
```

  Evidence: openSUSE Tumbleweed package metadata: spotifyd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## Package facts

- **Package key:** brew:spotifyd
- **Package manager:** Homebrew
- **Version:** 0.4.2
- **Source summary:** Spotify daemon
- **Homepage:** <https://spotifyd.rs/>
- **Repository:** <https://github.com/Spotifyd/spotifyd>
- **Last updated:** 2026-06-09T15:13:43+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- spotifyd (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.4.2
## Project history and usage

Spotifyd is an open-source Spotify client that runs as a Unix daemon, appears as a Spotify Connect device, and is commonly installed on desktops, servers, and headless audio systems.

### Project history

The official GitHub repository was created in 2014. Its README describes Spotifyd as an open-source Spotify client running as a Unix daemon, streaming like the official client while being more lightweight and supporting more platforms.

### Adoption history

Spotifyd became a classic package-manager media daemon: the official installation docs mention Linux distro repositories, Homebrew on macOS, FreeBSD, OpenBSD, and release binaries, while the input records Alpine, Homebrew, Nix, Arch, and openSUSE packaging.

### How it is used

Typical use is to install the daemon, run `spotifyd --no-daemon` for a foreground check, and then manage it as a service. Once running, it appears as a Spotify Connect target controllable from official Spotify clients; advanced users configure authentication, audio backends, MPRIS, systemd, hooks, and D-Bus controls.

### Why package nerds care

Package nerds care about Spotifyd because it turns Spotify playback into service infrastructure: config files, cache paths, audio backend feature sets, systemd units, and platform-specific binary choices all matter. It is especially relevant for headless and lightweight machines where the official desktop client is a poor fit.

### Timeline

- 2014: GitHub repository created.
- 2025-11-19: GitHub page lists v0.4.2 as the latest release.
- Current: Official docs describe package installs, release binaries, and service operation.

### Related projects

- The README credits librespot reverse-engineering work as foundational to the project.

### Sources

- <https://api.github.com/repos/Spotifyd/spotifyd: official repository metadata including creation date.>
- <https://docs.spotifyd.rs/: official documentation scope.>
- <https://docs.spotifyd.rs/configuration/: official config-file search paths.>
- <https://docs.spotifyd.rs/configuration/auth.html: official OAuth credential location.>
- <https://docs.spotifyd.rs/installation/index.html: package-manager, release, and running instructions.>
- <https://github.com/Spotifyd/spotifyd README: daemon description, Spotify Connect behavior, Premium requirement, and librespot credit.>
- input.source_facts.package-manager: package-manager presence across Alpine, Homebrew, Nix, Arch, and openSUSE.


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- formula declares a Homebrew service


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /etc/spotifyd.conf, $XDG_CONFIG_PATH/spotifyd/spotifyd.conf, ~/.config/spotifyd/spotifyd.conf

## Credential files

- Unix: <cache_path>/oauth/credentials.json
## Other Package-Manager Records

- Nix - spotifyd: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spotifyd/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - spotifyd - 0.4.2-r0: normalized package name match | Alpine Linux edge package indexes: spotifyd from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open source Spotify client running as a UNIX daemon | https://github.com/Spotifyd/spotifyd
- apk - spotifyd-openrc - 0.4.2-r0: normalized package name match | Alpine Linux edge package indexes: spotifyd-openrc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Open source Spotify client running as a UNIX daemon (OpenRC init scripts) | https://github.com/Spotifyd/spotifyd
- pacman - spotifyd - 0.4.2-1: normalized package name match | Arch Linux sync databases: spotifyd from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Lightweight spotify streaming daemon with spotify connect support | https://github.com/Spotifyd/spotifyd
- zypper - spotifyd - 0.4.2-1.4: normalized package name match | openSUSE Tumbleweed package metadata: spotifyd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Spotify client running as a UNIX daemon | https://spotifyd.rs/


## Combined YAML source

View the package source record on GitHub. [combined/spotifyd.yml](https://github.com/mxcl/pkgdb/blob/main/combined/spotifyd.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
