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

Spotify daemon. Version 0.4.2 via Homebrew; verified 2026-06-09.

## 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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:spotifyd
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/spotifyd>
- **Version:** 0.4.2
- **Source summary:** Spotify daemon
- **Homepage:** <https://spotifyd.rs/>
- **Repository:** <https://github.com/Spotifyd/spotifyd>
- **Upstream docs:** <https://docs.spotifyd.rs/>
- **License:** GPL-3.0-only
- **Source archive:** <https://github.com/Spotifyd/spotifyd/archive/refs/tags/v0.4.2.tar.gz>
- **Last updated:** 2026-06-09T15:13:43+02:00
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- spotifyd (cli)
- spotifyd (alias)

## Dependencies

- portaudio

## Build dependencies

- pkgconf
- rust

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.4.2
- Package-manager updated: 2026-06-09
- Local data: ok
- Upstream repository: https://github.com/Spotifyd/spotifyd
- Upstream latest detected: v0.4.2 (current)
## 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
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** spotifyd
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## 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.2: normalized package name match | openSUSE Tumbleweed package metadata: spotifyd from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Spotify client running as a UNIX daemon | https://spotifyd.rs/


## Related links

- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://www.automicvault.com/pkg/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [go-librespot](https://www.automicvault.com/pkg/brew/go-librespot/) - Shares av.db curated category or tags: audio, cli, media, spotify, spotify-connect.
- [librespot](https://www.automicvault.com/pkg/brew/librespot/) - Shares av.db curated category or tags: audio, cli, media, spotify, spotify-connect.
- [spotify_player](https://www.automicvault.com/pkg/brew/spotify-player/) - Shares av.db curated category or tags: audio, cli, media, spotify, spotify-connect.
- [ezstream](https://www.automicvault.com/pkg/brew/ezstream/) - Shares av.db curated category or tags: audio, audio-streaming, cli, media.
- [libshout](https://www.automicvault.com/pkg/brew/libshout/) - Shares av.db curated category or tags: audio, audio-streaming, cli, media.
- [mpd](https://www.automicvault.com/pkg/brew/mpd/) - Shares av.db curated category or tags: audio, cli, daemon, media.
- [abcde](https://www.automicvault.com/pkg/brew/abcde/) - Shares av.db curated category or tags: audio, cli, media.
- [adplay](https://www.automicvault.com/pkg/brew/adplay/) - Shares av.db curated category or tags: audio, cli, media.

## Combined YAML source

View the package source record on GitHub. [combined/spotifyd.yml](https://github.com/automic-vault/db/blob/main/combined/spotifyd.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
