# 使用 Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop 安装 ncmpc

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

## 安装

```sh
sudo av install brew:ncmpc
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install ncmpc
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ncmpc
```

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

### Linux

- apk (92%):

```sh
sudo apk add ncmpc
```

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

- Debian apt (92%):

```sh
sudo apt install ncmpc
```

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

- dnf (92%):

```sh
sudo dnf install ncmpc
```

  证据: Fedora Rawhide package metadata: ncmpc 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#ncmpc
```

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

- pacman (92%):

```sh
sudo pacman -S ncmpc
```

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

### Windows

- Scoop (92%):

```sh
scoop install extras/ncmpc
```

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

## 软件包事实

- **软件包键:** brew:ncmpc
- **软件包管理器:** Homebrew
- **版本:** 0.53
- **来源摘要:** Curses Music Player Daemon (MPD) client
- **主页:** <https://www.musicpd.org/clients/ncmpc/>
- **最后更新:** 2026-07-21T04:01:56Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- ncmpc (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ncmpc is the Music Player Daemon project's fully featured ncurses terminal client. The official client page emphasizes a keyboard-oriented, consistent interface to MPD without wasting resources.

### 项目历史

The release history in NEWS reaches back to ncmpc 0.10.0 on 2004-04-12, with 0.10.1 adding user key bindings, a key configuration screen, resize fixes, seeking, crossfade toggling, and system-wide config files. The project evolved with MPD itself: libmpdclient 2.0 in 0.16, Unix socket and wide-character support in 0.12, Meson in 0.28, C++17 in 0.37, C++20 in 0.47, and recent 0.50-0.52 releases in 2024-2025 focused on UI fixes, newer build requirements, lyrics, and libmpdclient compatibility.

### 采用历史

ncmpc is part of the core MPD client landscape rather than a standalone music ecosystem. MusicPD's client list names it as a console client and also describes ncmpcpp as tailored after ncmpc, showing ncmpc's role as the reference terminal client. The Homebrew formula API response consulted for this July 2026 batch reported only 9 install-on-request events in 30 days and 243 in 365 days, suggesting that macOS Homebrew demand is small even though the package remains important to MPD users.

### 使用方式

ncmpc is used after an MPD server is already running. Users connect from a terminal to browse the MPD database, search, manage the queue, edit playlists, control audio outputs, view lyrics, and customize key bindings and colors. Its value is that music playback lives in MPD while ncmpc can be opened, closed, or run remotely as a low-footprint controller.

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

ncmpc is the conservative MPD TUI: smaller and less flashy than ncmpcpp, but close to the MPD project and intentionally resource-light. It is the package you pick when you want the terminal client to be predictable, keyboard-first, and aligned with MPD protocol changes.

### 时间线

- 2004-04-12: ncmpc 0.10.0 appears in NEWS.
- 2008-12-05: 0.12 added Unix socket support, wide characters, LIRC, and lyrics/browser improvements.
- 2009-12-25: 0.16 switched to libmpdclient 2.0.
- 2017-09-21: 0.28 switched the build to Meson.
- 2025-02-17: 0.52 fixed search, resize, cursor, and status bar issues.

### Related projects

- Music Player Daemon, libmpdclient, mpc, ncmpcpp

### 来源

- <https://formulae.brew.sh/api/formula/ncmpc.json>
- <https://github.com/MusicPlayerDaemon/ncmpc>
- <https://raw.githubusercontent.com/MusicPlayerDaemon/ncmpc/v0.52/NEWS>
- <https://www.musicpd.org/clients/>
- <https://www.musicpd.org/clients/ncmpc/>


## 安全说明

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/ncmpc/config, ~/.config/ncmpc/config, $SYSCONFDIR/ncmpc/config
## 其他软件包管理器记录

- Debian apt - ncmpc - 0.52-1: normalized package name match | Debian stable package indexes: ncmpc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ncurses-based audio player | https://www.musicpd.org/clients/ncmpc/
- Debian apt - ncmpc-lyrics - 0.52-1: normalized package name match | Debian stable package indexes: ncmpc-lyrics from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | ncurses-based audio player (lyrics plugins) | https://www.musicpd.org/clients/ncmpc/
- Nix - ncmpc: normalized package name match | nixpkgs package indexes: pkgs/by-name/nc/ncmpc/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ncmpc - 0.49-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: ncmpc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ncurses-based audio player | https://www.musicpd.org/clients/ncmpc/
- Ubuntu apt - ncmpc-lyrics - 0.49-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: ncmpc-lyrics from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | ncurses-based audio player (lyrics plugins) | https://www.musicpd.org/clients/ncmpc/
- apk - ncmpc - 0.53-r0: normalized package name match | Alpine Linux edge package indexes: ncmpc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ncurses client for the Music Player Daemon (MPD) | https://www.musicpd.org/clients/ncmpc
- apk - ncmpc-dbg - 0.53-r0: normalized package name match | Alpine Linux edge package indexes: ncmpc-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ncurses client for the Music Player Daemon (MPD) (debug symbols) | https://www.musicpd.org/clients/ncmpc
- apk - ncmpc-doc - 0.53-r0: normalized package name match | Alpine Linux edge package indexes: ncmpc-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Ncurses client for the Music Player Daemon (MPD) (documentation) | https://www.musicpd.org/clients/ncmpc
- apk - ncmpc-lang - 0.53-r0: normalized package name match | Alpine Linux edge package indexes: ncmpc-lang from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Languages for package ncmpc | https://www.musicpd.org/clients/ncmpc
- dnf - ncmpc - 0.52-5.fc45: normalized package name match | Fedora Rawhide package metadata: ncmpc from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A curses client for the Music Player Daemon (MPD) | https://www.musicpd.org/
- pacman - ncmpc - 0.53-1: normalized package name match | Arch Linux sync databases: ncmpc from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Fully featured MPD client which runs in a terminal | https://www.musicpd.org/clients/ncmpc/
- MacPorts - ncmpc: normalized package name match | MacPorts ports tree: audio/ncmpc/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - extras/ncmpc: normalized package name match | Scoop official bucket manifest trees: bucket/ncmpc.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## Combined YAML source

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