# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, zypper 安装 beets

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

## 安装

```sh
sudo av install brew:beets
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install beets
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install beets
```

  证据: MacPorts ports tree: audio/beets/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add beets
```

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

- Debian apt (92%):

```sh
sudo apt install beets
```

  证据: Debian stable package indexes: beets from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install beets
```

  证据: Fedora Rawhide package metadata: beets from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#beets
```

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

- pacman (92%):

```sh
sudo pacman -S beets
```

  证据: Arch Linux sync databases: beets from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install beets
```

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

## 软件包事实

- **软件包键:** brew:beets
- **软件包管理器:** Homebrew
- **版本:** 2.13.1
- **来源摘要:** Music library manager and tagger
- **主页:** <https://beets.io/>
- **仓库:** <https://github.com/beetbox/beets>
- **最后更新:** 2026-07-30T12:09:22Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- beet (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2.13.1
## 项目历史与用法

beets is a Python command-line music library manager and MusicBrainz tagger for users who want a curated, queryable, correctly tagged local music collection.

### 项目历史

beets was created by Adrian Sampson and the GitHub repository was opened in August 2010. The project describes itself as a media library management system for obsessive music users, with automatic metadata improvement as the core import workflow.

The changelog records the early beta series beginning with 1.0b1 on June 17, 2010, followed by many beta releases and two release candidates before 1.0.0 shipped on January 29, 2013.

The 1.0 release marked beets as stable while new development continued. The plugin system became central to the project's identity, with plugins for album art, lyrics, ReplayGain, acoustic fingerprints, transcoding, duplicates, web access, MPD, and several metadata sources.

The project reached 2.0.0 in May 2024 and continued active 2.x releases through 2026, including 2.12.0 in June 2026.

### 采用历史

The supplied package metadata lists beets across Alpine, Homebrew, Debian, Fedora, MacPorts, Nix, Arch, Ubuntu, and openSUSE package names. The README also notes PyPI installation and distribution repository packaging.

beets adoption grew around the MusicBrainz-centered local-music workflow: import files, correct tags, move or copy into a library layout, then query and manipulate the collection through the beet CLI and plugins.

### 使用方式

The standard workflow is beet import followed by interactive metadata matching, file organization, and database-backed querying. Users customize behavior with config.yaml, path templates, plugins, and metadata-source credentials where individual plugins require them.

beets is especially useful for large local music collections because it combines tagging, library layout, duplicate checks, album art, lyrics, ReplayGain, transcoding, and scripting-friendly command-line access.

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

beets is package-nerd significant because it is one of the enduring examples of a personal-data CLI that wraps a rich Python application, a SQLite-ish local library model, a plugin ecosystem, external metadata services, and distro packaging into one command called beet.

It sits at the intersection of package managers and hobbyist media preservation: PyPI, Linux distributions, Homebrew, and Nix all carry it because music-library users want the same tool available on servers, laptops, and long-lived archival machines.

For CLI collectors, beets also has the satisfying trait of turning messy filesystem culture into explicit configuration: tags, templates, metadata sources, plugins, and output paths are all package-managed and scriptable.

### 时间线

- 2010: 1.0b1 released and GitHub repository created.
- 2013: 1.0.0 released after fifteen betas and two release candidates.
- 2024: 2.0.0 released.
- 2026: 2.12.0 released.

### Related projects

- MusicBrainz is the central metadata source named throughout beets' documentation and README.
- Discogs, Beatport, ReplayGain, MPD, and acoustic-fingerprint tooling are related services or workflows exposed through plugins.
- Picard is a related MusicBrainz-oriented tagger, while beets occupies the scriptable command-line library-manager niche.

### 来源

- <https://api.github.com/repos/beetbox/beets>
- <https://beets.readthedocs.io/en/stable/changelog.html>
- <https://beets.readthedocs.io/en/stable/reference/config.html>
- <https://github.com/beetbox/beets#readme>
- <https://github.com/beetbox/beets/releases>
- source_facts.package-manager


## 安全说明

没有找到 beets 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: ~/.config/beets/config.yaml
- Windows: %APPDATA%\beets\config.yaml, C:\Users\You\AppData\Roaming\beets\config.yaml, macos?
## 其他软件包管理器记录

- Debian apt - beets - 2.2.0-3+deb13u1: normalized package name match | Debian stable package indexes: beets from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | music tagger and library organizer | https://beets.io/
- Debian apt - beets-doc - 2.2.0-3+deb13u1: normalized package name match | Debian stable package indexes: beets-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | music tagger and library organizer - documentation | https://beets.io/
- Nix - beets: normalized package name match | nixpkgs package indexes: pkgs/by-name/be/beets/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - beets - 1.6.0-8: normalized package name match | Ubuntu 24.04 LTS package indexes: beets from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | music tagger and library organizer | https://beets.io/
- Ubuntu apt - beets-doc - 1.6.0-8: normalized package name match | Ubuntu 24.04 LTS package indexes: beets-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | music tagger and library organizer - documentation | https://beets.io/
- apk - beets - 2.12.0-r0: normalized package name match | Alpine Linux edge package indexes: beets from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Music library manager and MusicBrainz tagger | https://beets.io
- apk - beets-doc - 2.12.0-r0: normalized package name match | Alpine Linux edge package indexes: beets-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Music library manager and MusicBrainz tagger (documentation) | https://beets.io
- apk - beets-pyc - 2.12.0-r0: normalized package name match | Alpine Linux edge package indexes: beets-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Precompiled Python bytecode for beets | https://beets.io
- apk - beets-zsh-completion - 2.12.0-r0: normalized package name match | Alpine Linux edge package indexes: beets-zsh-completion from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh completions for beets | https://beets.io
- dnf - beets - 2.13.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: beets from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Music library manager and MusicBrainz tagger | http://pypi.org/project/beets/
- dnf - beets+aura - 2.13.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: beets+aura from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for beets: aura extras | http://pypi.org/project/beets/
- dnf - beets+beatport - 2.13.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: beets+beatport from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for beets: beatport extras | http://pypi.org/project/beets/
- dnf - beets+embedart - 2.13.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: beets+embedart from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for beets: embedart extras | http://pypi.org/project/beets/
- dnf - beets+fetchart - 2.13.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: beets+fetchart from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for beets: fetchart extras | http://pypi.org/project/beets/
- dnf - beets+lastgenre - 2.13.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: beets+lastgenre from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for beets: lastgenre extras | http://pypi.org/project/beets/
- dnf - beets+lastimport - 2.13.1-2.fc45: normalized package name match | Fedora Rawhide package metadata: beets+lastimport from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Metapackage for beets: lastimport extras | http://pypi.org/project/beets/


## Combined YAML source

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


## 来源

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