# 使用 Homebrew, apk, Nix 安装 zsh-fast-syntax-highlighting

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

## 安装

```sh
sudo av install brew:zsh-fast-syntax-highlighting
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zsh-fast-syntax-highlighting
```

  证据: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add zsh-fast-syntax-highlighting
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#zsh-fast-syntax-highlighting
```

  证据: nixpkgs package indexes: pkgs/by-name/zs/zsh-fast-syntax-highlighting/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:zsh-fast-syntax-highlighting
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/zsh-fast-syntax-highlighting>
- **版本:** 1.56
- **来源摘要:** Feature-rich syntax highlighting for Zsh
- **主页:** <https://github.com/zdharma-continuum/fast-syntax-highlighting>
- **仓库:** <https://github.com/zdharma-continuum/fast-syntax-highlighting>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/zdharma-continuum/fast-syntax-highlighting/archive/refs/tags/v1.56.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 安装行为

- post-install 钩子: 未定义
- 注意事项: To activate the syntax highlighting, add the following at the end of your .zshrc: source $HOMEBREW_PREFIX/opt/zsh-fast-syntax-highlighting/share/zsh-fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.56
- 本地数据: OK
- 上游仓库: https://github.com/zdharma-continuum/fast-syntax-highlighting
- 检测到的最新版本: v1.56 (当前)
- 信息: No package-manager update timestamp was available.

## 安全说明

没有找到 zsh-fast-syntax-highlighting 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

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

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

- Nix - zsh-fast-syntax-highlighting: normalized package name match | nixpkgs package indexes: pkgs/by-name/zs/zsh-fast-syntax-highlighting/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - zsh-fast-syntax-highlighting - 1.56-r1: normalized package name match | Alpine Linux edge package indexes: zsh-fast-syntax-highlighting from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Feature-rich syntax highlighting for ZSH | https://github.com/zdharma-continuum/fast-syntax-highlighting
- apk - zsh-fast-syntax-highlighting-doc - 1.56-r1: normalized package name match | Alpine Linux edge package indexes: zsh-fast-syntax-highlighting-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Feature-rich syntax highlighting for ZSH (documentation) | https://github.com/zdharma-continuum/fast-syntax-highlighting


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Homebrew utility packages](https://pkg.so/zh-hans/brew-utility-packages/) - Matched curated package taxonomy and local package facts.
- [zsh-patina](https://pkg.so/zh-hans/brew/zsh-patina/) - Package names and metadata indicate a similar tool family. Shared terms: fast, highlighting, syntax, zsh.
- [zsh-syntax-highlighting](https://pkg.so/zh-hans/brew/zsh-syntax-highlighting/) - Package names and metadata indicate a similar tool family. Shared terms: highlighting, syntax, zsh.
- [zsh-autosuggestions](https://pkg.so/zh-hans/brew/zsh-autosuggestions/) - Package names and metadata indicate a similar tool family. Shared terms: fast, zsh.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
