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

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

## 安装

```sh
sudo av install brew:ncmpcpp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ncmpcpp
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ncmpcpp
```

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

### Linux

- apk (92%):

```sh
sudo apk add ncmpcpp
```

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

- Debian apt (92%):

```sh
sudo apt install ncmpcpp
```

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

- dnf (92%):

```sh
sudo dnf install ncmpcpp
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#ncmpcpp
```

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

- pacman (92%):

```sh
sudo pacman -S ncmpcpp
```

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

- zypper (92%):

```sh
sudo zypper install ncmpcpp
```

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

## 软件包事实

- **软件包键:** brew:ncmpcpp
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/ncmpcpp>
- **版本:** 0.10.1
- **来源摘要:** Ncurses-based client for the Music Player Daemon
- **主页:** <https://rybczak.net/ncmpcpp/>
- **仓库:** <https://github.com/ncmpcpp/ncmpcpp>
- **上游文档:** <https://rybczak.net/ncmpcpp/>
- **许可证:** GPL-2.0-or-later
- **源码归档:** <https://github.com/ncmpcpp/ncmpcpp/archive/refs/tags/0.10.1.tar.gz>
- **最后更新:** 2026-06-25T13:37:56+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- ncmpcpp (cli)
- ncmpcpp (别名)

## 依赖

- boost
- fftw
- icu4c@78
- libmpdclient
- ncurses
- readline
- taglib

## 构建依赖

- autoconf
- automake
- libtool
- pkgconf

## macOS 提供的库

- curl

## 安装行为

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

## 版本和新鲜度

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

ncmpcpp, NCurses Music Player Client Plus Plus, is a featureful ncurses client for Music Player Daemon inspired by ncmpc. Its upstream README says the project is in maintenance mode, feature-complete for maintainer Andrzej Rybczak, with serious bugs and dependency breakage still in scope.

### 项目历史

The release notes on the upstream site show rapid 0.1-0.5 growth during 2008-2010: media library, lyrics, playlist editor, tag editor, local browser, Last.fm artist info, visualizer, alternative UI, libmpdclient2, idle support, and many configuration options. The 0.6 beta series in 2014 redesigned keybindings, added readline support, removed polling mode, and required MPD >= 0.16; the 0.7 line in 2015-2016 added richer visualizer modes, 256-color/background customization, multiple config files, action chains, and compatibility with newer MPD.

### 采用历史

ncmpcpp became one of the iconic MPD terminal clients because it adds the features many MPD users want beyond a minimal queue browser: library views, tag editing, lyrics, visualizer support, and deep theming. The GitHub page observed for this batch showed about 2.5k stars and 237 forks. The Homebrew formula API response consulted for this July 2026 batch reported 45 install-on-request events in 30 days and 1,602 in 365 days.

### 使用方式

Package nerds use ncmpcpp as the full-screen MPD cockpit: keyboard-driven queue control, database browsing, media-library navigation, playlist editing, tag cleanup with TagLib, lyrics fetching, optional FFTW-backed visualizer output, and heavily customized config/bindings under `~/.ncmpcpp` or XDG config paths. It is especially associated with riced terminal desktops where MPD handles playback and ncmpcpp provides the visible music UI.

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

ncmpcpp is significant because it became the expressive counterpart to ncmpc. In MPD setups, it is the client people screenshot, theme, and wire into terminal-based desktops, while still speaking the same MPD model: a persistent daemon with replaceable clients.

### 时间线

- 2008-08-07: 0.1.1 appeared in the release notes with example config and customization improvements.
- 2008-09-20: 0.2.3 added the complex tag editor and Last.fm artist info.
- 2009-09-09: 0.4 added visualizer modes and an alternative UI.
- 2014-09-03: 0.6_beta1 redesigned keybindings and required MPD >= 0.16.
- 2021-01-24: 0.9.2 fixed regressions around external commands and password prompts.
- 2024-10-24: 0.10.1 fixed libc++ compilation and an empty-playlist reverse crash.

### Related projects

- Music Player Daemon, ncmpc, libmpdclient, TagLib, FFTW, Last.fm

### 来源

- <https://formulae.brew.sh/api/formula/ncmpcpp.json>
- <https://github.com/ncmpcpp/ncmpcpp>
- <https://raw.githubusercontent.com/ncmpcpp/ncmpcpp/master/CHANGELOG.md>
- <https://rybczak.net/ncmpcpp/>
- <https://www.musicpd.org/clients/>


## 安全说明

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

- Unix: $XDG_CONFIG_HOME/ncmpcpp/config, ~/.ncmpcpp/config
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ncmpcpp
- **Version Scheme:** 0
- **Revision:** 7
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - ncmpcpp - 0.9.2-2.2+b1: normalized package name match | Debian stable package indexes: ncmpcpp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ncurses-based client for the Music Player Daemon (MPD) | https://github.com/ncmpcpp/ncmpcpp
- Nix - ncmpcpp: normalized package name match | nixpkgs package indexes: pkgs/by-name/nc/ncmpcpp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ncmpcpp - 0.9.2-2build9: normalized package name match | Ubuntu 24.04 LTS package indexes: ncmpcpp from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ncurses-based client for the Music Player Daemon (MPD) | https://ncmpcpp.rybczak.net
- apk - ncmpcpp - 0.10.1-r4: normalized package name match | Alpine Linux edge package indexes: ncmpcpp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ncurses based MPD client inspired by ncmpc | http://rybczak.net/ncmpcpp
- apk - ncmpcpp-doc - 0.10.1-r4: normalized package name match | Alpine Linux edge package indexes: ncmpcpp-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ncurses based MPD client inspired by ncmpc (documentation) | http://rybczak.net/ncmpcpp
- dnf - ncmpcpp - 0.10.1-11.fc45: normalized package name match | Fedora Rawhide package metadata: ncmpcpp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | Featureful ncurses based MPD client inspired by ncmpc | http://ncmpcpp.rybczak.net/
- pacman - ncmpcpp - 0.10.1-8: normalized package name match | Arch Linux sync databases: ncmpcpp from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Featureful ncurses based MPD client inspired by ncmpc | https://github.com/ncmpcpp/ncmpcpp
- zypper - ncmpcpp - 0.10.1-1.9: normalized package name match | openSUSE Tumbleweed package metadata: ncmpcpp from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Music Player Daemon Client | https://rybczak.net/ncmpcpp
- MacPorts - ncmpcpp: normalized package name match | MacPorts ports tree: audio/ncmpcpp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched media, image, audio, video, or graphics metadata.
- [ncurses](https://pkg.so/zh-hans/brew/ncurses/) - Runtime dependency declared by Homebrew.
- [fftw](https://pkg.so/zh-hans/brew/fftw/) - Runtime dependency declared by Homebrew.
- [taglib](https://pkg.so/zh-hans/brew/taglib/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://pkg.so/zh-hans/brew/pkgconf/) - Build dependency declared by Homebrew.
- [libtool](https://pkg.so/zh-hans/brew/libtool/) - Build dependency declared by Homebrew.
- [autoconf](https://pkg.so/zh-hans/brew/autoconf/) - Build dependency declared by Homebrew.
- [automake](https://pkg.so/zh-hans/brew/automake/) - Build dependency declared by Homebrew.
- [ncmpc](https://pkg.so/zh-hans/brew/ncmpc/) - Shares pkgdb curated category or tags: audio, cli, media, mpd, music-player-client.
- [rmpc](https://pkg.so/zh-hans/brew/rmpc/) - Shares pkgdb curated category or tags: audio, cli, media, mpd, music-player-client.
- [mpc](https://pkg.so/zh-hans/brew/mpc/) - Shares pkgdb curated category or tags: audio, cli, media, mpd, music-player-client.
- [mpd](https://pkg.so/zh-hans/brew/mpd/) - Shares pkgdb curated category or tags: audio, cli, media, mpd.
- [mpdscribble](https://pkg.so/zh-hans/brew/mpdscribble/) - Shares pkgdb curated category or tags: audio, cli, media, mpd.
- [mpdas](https://pkg.so/zh-hans/brew/mpdas/) - Shares pkgdb curated category or tags: audio, cli, media, mpd.
- [lame](https://pkg.so/zh-hans/brew/lame/) - Shares pkgdb curated category or tags: audio, cli, media.
- [libsndfile](https://pkg.so/zh-hans/brew/libsndfile/) - Shares pkgdb curated category or tags: audio, cli, media.
- [vimpc](https://pkg.so/zh-hans/brew/vimpc/) - Local metadata places this package in an adjacent workflow. Shared terms: based, cli, client, libmpdclient, media.

## Combined YAML source

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


## 来源

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