# Install termusic with Homebrew, MacPorts, Nix, pacman, scoop

Music Player TUI written in Rust. Version 0.13.2 via Homebrew; verified 2026-05-12.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install termusic
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install termusic
```

  Evidence: 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
```

  Evidence: 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
```

  Evidence: 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
```

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

## Package facts

- **Package key:** brew:termusic
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/termusic>
- **Version:** 0.13.2
- **Source summary:** Music Player TUI written in Rust
- **Homepage:** <https://github.com/tramhao/termusic>
- **Repository:** <https://github.com/tramhao/termusic>
- **Upstream docs:** <https://github.com/tramhao/termusic#readme>
- **License:** MIT AND GPL-3.0-or-later
- **Source archive:** <https://github.com/tramhao/termusic/archive/refs/tags/v0.13.2.tar.gz>
- **Last updated:** 2026-05-12T10:30:28-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- termusic (cli)
- termusic-server (cli)
- termusic (alias)
- termusic-server (alias)

## Dependencies

- opus

## Build dependencies

- pkgconf
- protobuf
- rust

## Install behavior

- Post-install hook: not defined
- 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.13.2
- Package-manager updated: 2026-05-12
- Local data: ok
- Upstream repository: https://github.com/tramhao/termusic
- Upstream latest detected: v0.13.2 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

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

- **Geiger risk:** blue / medium
- 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
## Source Database Details

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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [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.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [protobuf](https://www.automicvault.com/pkg/brew/protobuf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [rmpc](https://www.automicvault.com/pkg/brew/rmpc/) - Shares av.db curated category or tags: audio, cli, media, music-player, terminal-ui.
- [adplay](https://www.automicvault.com/pkg/brew/adplay/) - Shares av.db curated category or tags: audio, cli, media, music-player.
- [cmus](https://www.automicvault.com/pkg/brew/cmus/) - Shares av.db curated category or tags: audio, cli, media, music-player, terminal.
- [librespot](https://www.automicvault.com/pkg/brew/librespot/) - Shares av.db curated category or tags: audio, cli, media, rust.
- [mikmod](https://www.automicvault.com/pkg/brew/mikmod/) - Shares av.db curated category or tags: audio, cli, media, music-player.
- [moc](https://www.automicvault.com/pkg/brew/moc/) - Shares av.db curated category or tags: audio, cli, media, music-player, terminal.
- [mpd](https://www.automicvault.com/pkg/brew/mpd/) - Shares av.db curated category or tags: audio, cli, media, music-player.
- [spotify_player](https://www.automicvault.com/pkg/brew/spotify-player/) - Shares av.db curated category or tags: audio, cli, media, music-player, terminal-ui.
- [kew](https://www.automicvault.com/pkg/brew/kew/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, media, music, music-player.
- [snapcast](https://www.automicvault.com/pkg/brew/snapcast/) - Both packages work with overlapping file formats or content types. Shared terms: audio, cli, media, opus, player.

## Combined YAML source

View the package source record on GitHub. [combined/termusic.yml](https://github.com/automic-vault/db/blob/main/combined/termusic.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
