# 使用 Homebrew, Nix 安装 go-librespot

查看 go-librespot 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

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

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## 软件包事实

- **软件包键:** brew:go-librespot
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/go-librespot>
- **版本:** 0.8.0
- **来源摘要:** Spotify client
- **主页:** <https://github.com/devgianlu/go-librespot>
- **仓库:** <https://github.com/devgianlu/go-librespot>
- **许可证:** GPL-3.0-only
- **源码归档:** <https://github.com/devgianlu/go-librespot/archive/refs/tags/v0.8.0.tar.gz>
- **最后更新:** 2026-08-02T17:43:26Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- go-librespot (cli)
- go-librespot (别名)

## 依赖

- flac
- libogg
- libvorbis

## 构建依赖

- go
- pkgconf

## 安装行为

- post-install 钩子: 未定义
- 服务: declared
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.8.0
- 管理器更新时间: 2026-08-02
- 本地数据: OK
- 上游仓库: https://github.com/devgianlu/go-librespot
- 检测到的最新版本: v0.8.0 (当前)
## 项目历史与用法

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

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

- 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.

### 来源

- <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>


## 安全说明

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

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** go-librespot
- **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

## 其他软件包管理器记录

- 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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [flac](https://pkg.so/zh-hans/brew/flac/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [librespot](https://pkg.so/zh-hans/brew/librespot/) - Shares pkgdb curated category or tags: audio, cli, media, spotify, spotify-connect.
- [ffmpeg](https://pkg.so/zh-hans/brew/ffmpeg/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [gstreamer](https://pkg.so/zh-hans/brew/gstreamer/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [ffmpeg-full](https://pkg.so/zh-hans/brew/ffmpeg-full/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [spotify_player](https://pkg.so/zh-hans/brew/spotify-player/) - Shares pkgdb curated category or tags: cli, media, spotify, spotify-connect.
- [spotifyd](https://pkg.so/zh-hans/brew/spotifyd/) - Shares pkgdb curated category or tags: cli, media, spotify, spotify-connect.
- [openrtsp](https://pkg.so/zh-hans/brew/openrtsp/) - Shares pkgdb curated category or tags: cli, client, media, streaming.
- [snapcast](https://pkg.so/zh-hans/brew/snapcast/) - Shares pkgdb curated category or tags: audio, cli, media, streaming.
- [vorbis-tools](https://pkg.so/zh-hans/brew/vorbis-tools/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, flac, libogg, libvorbis.

## 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)


## 来源

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