# Install go-librespot with Homebrew, Nix

Spotify client. Version 0.8.0 via Homebrew; verified 2026-08-02. Also installable with nix: nix profile install nixpkgs#go-librespot.

## Install

```sh
sudo av install brew:go-librespot
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install go-librespot
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#go-librespot
```

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

## Package facts

- **Package key:** brew:go-librespot
- **Package manager:** Homebrew
- **Version:** 0.8.0
- **Source summary:** Spotify client
- **Homepage:** <https://github.com/devgianlu/go-librespot>
- **Repository:** <https://github.com/devgianlu/go-librespot>
- **Last updated:** 2026-08-02T17:43:26Z
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- go-librespot (alias)

## Install behavior

- Bottle: not available

## Freshness

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

go-librespot is a Go Spotify Connect compatible client for running a local playback receiver.

### Project history

The public repository was created in 2023. Its README presents the project as an open-source Spotify Connect compatible client written in Go, with release binaries, Docker images, Homebrew packaging, and source builds around a daemon entry point.

### Adoption history

The project sits in the broader librespot ecosystem of open-source Spotify clients. The Rust librespot project describes that space as an alternative to Spotify's deprecated closed-source libspotify, while go-librespot packages the idea as a Go daemon with mDNS registration and audio backend configuration.

### How it is used

Practitioners use go-librespot to make a machine appear as a Spotify Connect device on a local network. The README documents Zeroconf mode, mDNS backend selection, audio-related build dependencies, container use, and a configuration directory holding config.yml, state.json, and a lockfile.

### Why package nerds care

For package users, go-librespot is notable because Spotify Connect compatibility usually depends on background service behavior, audio libraries, mDNS, and state storage; Homebrew and container packaging reduce that setup to a reproducible install.

### Timeline

- 2023: Public GitHub repository created.
- 2024: v0.x releases established the Go client as a packaged daemon.
- 2026: v0.7.x release series published.

### Related projects

- librespot-org/librespot is the Rust open-source Spotify client library that frames the wider librespot lineage and Spotify Connect receiver use case.

### Sources

- <https://api.github.com/repos/devgianlu/go-librespot>
- <https://formulae.brew.sh/formula/go-librespot>
- <https://github.com/devgianlu/go-librespot>
- <https://github.com/devgianlu/go-librespot/releases>
- <https://github.com/librespot-org/librespot>


## Security Notes

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- formula declares a Homebrew service

## Other Package-Manager Records

- Nix - go-librespot: normalized package name match | nixpkgs package indexes: pkgs/by-name/go/go-librespot/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

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