# 使用 Homebrew, MacPorts, Nix, pacman, scoop 安装 termusic

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

## 安装

```sh
sudo av install brew:termusic
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install termusic
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install termusic
```

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

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#termusic
```

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

- pacman (92%):

```sh
sudo pacman -S termusic
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/termusic
```

  证据: Scoop official bucket manifest trees: bucket/termusic.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:termusic
- **软件包管理器:** Homebrew
- **版本:** 0.13.2
- **来源摘要:** Music Player TUI written in Rust
- **主页:** <https://github.com/tramhao/termusic>
- **仓库:** <https://github.com/tramhao/termusic>
- **最后更新:** 2026-05-12T10:30:28-04:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- termusic (别名)
- termusic-server (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

termusic is a Rust terminal music and podcast player. Its history is rooted in the Unix/TUI tradition of local media clients, but its README frames the motivation around freedom from centralized music services and a rewrite from GOMU to avoid data-race problems.

### 项目历史

The repository was created in June 2021. The README says the author had contributed to GOMU, encountered serious data-race problems during development, and rewrote the player in Rust to address them.

The project grew into a split client/server terminal application with audio playback, podcast support, library indexing, playlists, metadata/tag editing, album-cover display, multiple playback backends, and optional download helpers. GitHub releases show steady v0.x development from v0.6.x in late 2021 through v0.13.x in 2026.

### 采用历史

termusic has unusually broad package-manager reach for a TUI media player. The README lists Cargo and cargo-binstall as official install sources and documents unofficial or downstream package availability through Arch Linux repositories, AUR, Homebrew, NetBSD pkgin, and Nix/NixOS. The input package facts also show Brew, MacPorts, Nix, pacman, and Scoop packaging.

### 使用方式

Users run `termusic` for the TUI and `termusic-server` for the server component. The README documents local configuration under platform-specific application config directories, optional playback backends such as MPV and GStreamer, support for common audio containers/codecs, podcast database files, playlist storage, and logs in temporary directories.

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

For package nerds, termusic is interesting because it is both a Rust TUI application and a media stack integration point: packaging must account for Rust MSRV, protobuf, audio backends, ALSA/DBus on Linux, optional yt-dlp/ffmpeg helpers, album-cover protocols, and separate client/server binaries. That makes it a more complex package than a simple single-binary CLI.

### 时间线

- 2021: GitHub repository created.
- 2021: v0.6.2 and subsequent v0.6.x releases appeared on GitHub.
- 2023: v0.7.11 released after continued v0.x maintenance.
- 2024: v0.9.x releases continued terminal music-player development.
- 2025: v0.10.0 and v0.11.0 released.
- 2026: v0.13.2 released, with README metadata showing active Rust/MSRV and packaging maintenance.

### Related projects

- The README names GOMU as the project that motivated the Rust rewrite.
- The README also thanks tui-realm, termscp, netease-cloud-music-gtk, alacritty-themes, shellcaster, and stream-download as related or influential projects.

### 来源

- <https://api.github.com/repos/tramhao/termusic>
- <https://api.github.com/repos/tramhao/termusic/releases?per_page=100>
- <https://github.com/tramhao/termusic>
- <https://raw.githubusercontent.com/tramhao/termusic/master/README.md>
- source_facts.package-manager


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal


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

- Linux: ~/.config/termusic/server.toml, ~/.config/termusic/tui.toml
- macOS: ~/Library/Application Support/termusic/server.toml, ~/Library/Application Support/termusic/tui.toml
- Windows: %APPDATA%\termusic\server.toml, %APPDATA%\termusic\tui.toml
## 其他软件包管理器记录

- Nix - termusic: normalized package name match | nixpkgs package indexes: pkgs/by-name/te/termusic/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - termusic - 0.13.2-1: normalized package name match | Arch Linux sync databases: termusic from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Music Player TUI written in Rust | https://github.com/tramhao/termusic
- MacPorts - termusic: normalized package name match | MacPorts ports tree: multimedia/termusic/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/termusic: normalized package name match | Scoop official bucket manifest trees: bucket/termusic.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

- 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
