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

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

## 安装

```sh
sudo av install brew:cava
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install cava
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install cava
```

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

### Linux

- apk (92%):

```sh
sudo apk add cava
```

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

- Debian apt (92%):

```sh
sudo apt install cava
```

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

- dnf (92%):

```sh
sudo dnf install cava
```

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

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

- pacman (92%):

```sh
sudo pacman -S cava
```

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

- zypper (92%):

```sh
sudo zypper install cava
```

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

### Windows

- winget (92%):

```sh
winget install --id karlstav.cava -e
```

  证据: Windows Package Manager source index: karlstav.cava from https://cdn.winget.microsoft.com/cache/source.msix

## 软件包事实

- **软件包键:** brew:cava
- **软件包管理器:** Homebrew
- **版本:** 1.0.0
- **来源摘要:** Console-based Audio Visualizer for ALSA
- **主页:** <https://github.com/karlstav/cava>
- **仓库:** <https://github.com/karlstav/cava>
- **最后更新:** 2026-06-25T13:37:38+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- cava (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

CAVA is the Cross-platform Audio Visualizer, a bar spectrum visualizer for terminal or desktop SDL output. The README says it works on Linux, FreeBSD, macOS, and Windows and is designed to look responsive and aesthetic for music visualization rather than scientific analysis.

### 项目历史

The README credits Karl Stavestrand and thanks several early contributors for major early-development work. Over time it grew beyond an ALSA-oriented console visualizer into a cross-platform project with PipeWire, PulseAudio, ALSA, Sndio, OSS, JACK, squeezelite, Core Audio, Windows, ncurses, SDL, raw output, and a cavacore library.

### 采用历史

The upstream README documents package-manager installs for Arch, Ubuntu/Debian, and Homebrew, and the supplied package facts add Alpine, Fedora, MacPorts, Nix, Ubuntu, Winget, and openSUSE. That is unusually broad adoption for a terminal visual-effect tool.

### 使用方式

Users run cava to visualize audio input in the terminal, use -p to choose a config file, and control sensitivity, bar width, colors, reloads, and quit from the keyboard. A default config is created in $XDG_CONFIG_HOME/cava/config or ~/.config/cava/config on first launch.

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

CAVA is significant because it turns terminal audio plumbing into visible feedback. For maintainers it touches many platform-specific audio stacks while remaining a familiar CLI package, which makes it a neat intersection of Unix terminals, desktop audio, and cross-platform packaging.

### 时间线

- 2026: The README documents Linux, FreeBSD, macOS, and Windows support.
- 2026: Homebrew formula packages CAVA 1.0.0 from the official release archive.
- 2026: Supplied package facts show CAVA available from Homebrew, Debian-family, RPM-family, MacPorts, Nix, Arch, Winget, and openSUSE package sets.

### Related projects

- Related project surfaces include cavacore for reusable processing and cava2sse for exposing raw values as server-sent events. Related system components include PipeWire, PulseAudio, ALSA, Sndio, OSS, JACK, Core Audio, ncurses, and SDL2.

### 来源

- <https://api.github.com/repos/karlstav/cava>
- <https://github.com/karlstav/cava>
- <https://github.com/karlstav/cava#readme>
- <https://formulae.brew.sh/api/formula/cava.json>
- <https://github.com/karlstav/cava/releases>


## 安全说明

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

- Debian apt - cava - 0.10.4+dfsg-1: normalized package name match | Debian stable package indexes: cava from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Console-based Audio Visualizer for Alsa | https://github.com/karlstav/cava
- Debian apt - libcava-java - 0.6.0-2: normalized package name match | Debian stable package indexes: libcava-java from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Libraries and tools for blockchain and decentralized software | https://github.com/ConsenSys/cava
- Nix - cava: normalized package name match | nixpkgs package indexes: pkgs/by-name/ca/cava/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - cava - 0.7.4-1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: cava from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Console-based Audio Visualizer for Alsa | https://github.com/karlstav/cava
- Ubuntu apt - libcava-java - 0.6.0-1.1ubuntu1: normalized package name match | Ubuntu 24.04 LTS package indexes: libcava-java from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Libraries and tools for blockchain and decentralized software | https://github.com/ConsenSys/cava
- apk - cava - 1.0.0-r0: normalized package name match | Alpine Linux edge package indexes: cava from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Console-based Audio Visualizer | https://github.com/karlstav/cava
- dnf - cava - 0.10.2-8.fc45: normalized package name match | Fedora Rawhide package metadata: cava from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | Console-based Audio Visualizer for Alsa | https://github.com/karlstav/cava
- pacman - cava - 0.10.7-1: normalized package name match | Arch Linux sync databases: cava from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Console-based Audio Visualizer with support for multiple backends | https://github.com/karlstav/cava
- zypper - cava - 1.0.0-1.3: normalized package name match | openSUSE Tumbleweed package metadata: cava from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Console-based Audio Visualizer for Alsa | https://github.com/karlstav/cava
- MacPorts - cava: normalized package name match | MacPorts ports tree: audio/cava/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- winget - karlstav.cava: normalized package name match | Windows Package Manager source index: karlstav.cava from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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