# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman, scoop, winget 安装 vivid

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

## 安装

```sh
sudo av install brew:vivid
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install vivid
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install vivid
```

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

### Linux

- apk (92%):

```sh
sudo apk add vivid
```

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

- Debian apt (92%):

```sh
sudo apt install vivid
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#vivid
```

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

- pacman (92%):

```sh
sudo pacman -S vivid
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/vivid
```

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

- winget (92%):

```sh
winget install --id sharkdp.vivid -e
```

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

## 软件包事实

- **软件包键:** brew:vivid
- **软件包管理器:** Homebrew
- **版本:** 0.11.1
- **来源摘要:** Generator for LS_COLORS with support for multiple color themes
- **主页:** <https://github.com/sharkdp/vivid>
- **仓库:** <https://github.com/sharkdp/vivid>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- vivid (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

vivid is a themeable generator for the `LS_COLORS` environment variable used by color-aware command-line tools. It replaces hand-written ANSI escape-code tables with YAML filetype databases and theme files.

Its place in package culture is the customization layer around `ls`, `tree`, `fd`, `bfs`, `dust`, and similar tools: install one small binary, generate an `LS_COLORS` value, and make a whole shell environment use a coherent color theme.

### 项目历史

The vivid changelog records v0.1.0 as the initial version and v0.3.0 as the point where the project was renamed from `dircolors-hd` to `vivid`. That rename also marked the project more clearly as a theme-oriented alternative to classic `dircolors` workflows.

Subsequent releases filled in the practical pieces that make an `LS_COLORS` generator pleasant to package and use: direct RRGGBB colors, better filetype database handling, embedded default themes and config files, XDG config support, previewing, deterministic output, and additional community themes.

By the 0.9 and 0.11 series, vivid had become a maintained Rust CLI with a catalog of common themes, including popular terminal color schemes, and prebuilt release assets for multiple platforms.

### 采用历史

vivid's adoption is tied to the spread of modern Rust command-line tools and highly customized shell prompts. The README explicitly names `ls`, `tree`, `fd`, `bfs`, and `dust` as consumers of `LS_COLORS`, which makes vivid useful beyond a single command.

Its theme collection and package availability made it attractive to users who wanted the same color language across file listings, search tools, and disk-usage tools without editing raw ANSI sequences.

### 使用方式

Users generate an `LS_COLORS` string from a named or custom theme and export it from their shell startup files. vivid also supports custom filetype databases and custom YAML themes under XDG-style configuration paths.

The separation between filetype database and theme is the core workflow: file classifications can be shared while colors are swapped independently.

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

vivid is significant because it turns one of the messier Unix environment variables into declarative data. For package nerds, it is a small example of a modern Rust CLI improving an old shell convention without replacing the surrounding tools.

It also connects several popular CLI packages: `fd`, `bfs`, `dust`, `tree`, and GNU or BSD file-listing tools can all benefit once the environment variable is generated.

### 时间线

- v0.1.0: Initial version.
- v0.3.0: Project renamed to vivid from dircolors-hd.
- v0.4.0: Added direct RRGGBB color support and better filetype database handling.
- v0.6.0: Embedded default themes and config files, and added XDG_CONFIG_HOME support.
- v0.9.0: Added deterministic output work, more filetypes, and additional themes including Catppuccin variants.
- 2026: GitHub releases list v0.11.1 with signed multi-platform release assets.

### Related projects

- vivid is conceptually related to GNU `dircolors`, but it chooses themeable YAML data rather than the traditional single generated database format.
- It is also related to tools that consume `LS_COLORS`, including `ls`, `tree`, `fd`, `bfs`, and `dust`.

### 来源

- batch input current_curation.config-file-location and current_curation.tags
- <https://github.com/sharkdp/vivid>
- <https://github.com/sharkdp/vivid/blob/master/CHANGELOG.md>
- <https://github.com/sharkdp/vivid/releases>
- <https://manpages.ubuntu.com/manpages/noble/man1/vivid.1.html>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals


## 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/vivid/filetypes.yml, $XDG_CONFIG_HOME/vivid/themes/*.yml, ~/.config/vivid/filetypes.yml, ~/.config/vivid/themes/*.yml
## 其他软件包管理器记录

- Debian apt - vivid - 0.9.0-3+b2: normalized package name match | Debian stable package indexes: vivid from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | LS_COLORS manager with multiple themes | https://github.com/sharkdp/vivid
- Nix - vivid: normalized package name match | nixpkgs package indexes: pkgs/by-name/vi/vivid/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - vivid - 0.9.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: vivid from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | LS_COLORS manager with multiple themes | https://github.com/sharkdp/vivid
- apk - vivid - 0.11.1-r0: normalized package name match | Alpine Linux edge package indexes: vivid from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Themeable LS_COLORS generator with a rich filetype database | https://github.com/sharkdp/vivid
- pacman - vivid - 0.11.1-1: normalized package name match | Arch Linux sync databases: vivid from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | LS_COLORS manager with multiple themes | https://github.com/sharkdp/vivid
- MacPorts - vivid: normalized package name match | MacPorts ports tree: sysutils/vivid/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/vivid: normalized package name match | Scoop official bucket manifest trees: bucket/vivid.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1
- winget - sharkdp.vivid: normalized package name match | Windows Package Manager source index: sharkdp.vivid from https://cdn.winget.microsoft.com/cache/source.msix


## Combined YAML source

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