# 使用 Homebrew, scoop 安装 zsh-patina

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

## 安装

```sh
sudo av install brew:zsh-patina
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zsh-patina
```

  证据: local Homebrew formula metadata

### Windows

- Scoop (92%):

```sh
scoop install extras/zsh-patina
```

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

## 软件包事实

- **软件包键:** brew:zsh-patina
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/zsh-patina>
- **版本:** 1.9.0
- **来源摘要:** Blazingly fast Zsh syntax highlighter
- **主页:** <https://github.com/michel-kraemer/zsh-patina>
- **仓库:** <https://github.com/michel-kraemer/zsh-patina>
- **上游文档:** <https://github.com/michel-kraemer/zsh-patina>
- **许可证:** MIT
- **源码归档:** <https://github.com/michel-kraemer/zsh-patina/archive/refs/tags/1.9.0.tar.gz>
- **最后更新:** 2026-07-18T12:44:14Z
- **已生成:** 2026-07-26T07:20:29+00:00

## 可执行文件

- zsh-patina (cli)
- zsh-patina (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- 注意事项: Initialize zsh-patina at the end of your `.zshrc` file by executing: echo 'eval "$($HOMEBREW_PREFIX/opt/zsh-patina/bin/zsh-patina activate)"' >> ~/.zshrc
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-26
- 管理器版本: 1.9.0
- 管理器更新时间: 2026-07-18
- 本地数据: OK
- 上游仓库: https://github.com/michel-kraemer/zsh-patina
- 检测到的最新版本: 1.9.0 (当前)
## 项目历史与用法

zsh-patina is a Zsh syntax-highlighting plugin backed by a small Rust daemon. The daemon is shared across shell sessions, caches syntax definitions and themes, and uses syntect and Sublime Text syntax definitions to provide IDE-like highlighting with sub-millisecond performance for typical commands.

### 项目历史

The GitHub repository was created in March 2026, and version 1.0.0 was published five days later. The project moved through a rapid sequence of releases during its first months, reaching version 1.8.0 in June 2026.

### 采用历史

From its initial release period, the project documented installation through Homebrew, Cargo, Zinit, Debian packages, the Arch User Repository, Nix flakes, Scoop, precompiled archives, and source builds. That breadth targets both conventional package-manager users and Zsh plugin-manager users across macOS, Linux, and Windows Unix environments.

### 使用方式

After installation, users add an eval invocation produced by `zsh-patina activate` to `.zshrc`. An optional TOML file controls highlighting behavior and themes, and configuration changes are applied by restarting the shared daemon.

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

zsh-patina combines a shell-native activation pattern with a compiled Rust backend and unusually broad packaging coverage. It is a compact example of modern shell tooling distributed simultaneously as a Homebrew formula, Cargo crate, Zinit plugin, Debian package, AUR package, Nix flake, Scoop package, and portable release binary.

### 时间线

- 2026: GitHub repository created.
- 2026: First release, version 1.0.0.
- 2026: Version 1.8.0 published.

### Related projects

- syntect provides the Rust syntax-highlighting engine used by zsh-patina.
- Sublime Text syntax definitions provide the language grammars consumed through syntect.
- Zinit is one of the officially documented Zsh plugin installation methods.

### 来源

- <https://api.github.com/repos/michel-kraemer/zsh-patina>
- <https://api.github.com/repos/michel-kraemer/zsh-patina/releases?per_page=100>
- <https://github.com/michel-kraemer/zsh-patina#readme>
- source_facts.package-manager


## 安全说明

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



## 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: $ZSH_PATINA_CONFIG_PATH, $XDG_CONFIG_HOME/zsh-patina/config.toml, ~/.config/zsh-patina/config.toml
## 源数据库详情

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

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

- Scoop - extras/zsh-patina: normalized package name match | Scoop official bucket manifest trees: bucket/zsh-patina.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/zh-hans/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [chroma](https://www.automicvault.com/zh-hans/pkg/brew/chroma/) - Shares av.db curated category or tags: cli, developer-tools, syntax-highlighting.
- [ccat](https://www.automicvault.com/zh-hans/pkg/brew/ccat/) - Shares av.db curated category or tags: cli, developer-tools, syntax-highlighting, terminal.
- [chars](https://www.automicvault.com/zh-hans/pkg/brew/chars/) - Shares av.db curated category or tags: cli, developer-tools, rust, terminal.
- [code-minimap](https://www.automicvault.com/zh-hans/pkg/brew/code-minimap/) - Shares av.db curated category or tags: cli, developer-tools, rust, terminal.
- [codesnap](https://www.automicvault.com/zh-hans/pkg/brew/codesnap/) - Shares av.db curated category or tags: cli, developer-tools, rust, syntax-highlighting.
- [codevis](https://www.automicvault.com/zh-hans/pkg/brew/codevis/) - Shares av.db curated category or tags: cli, developer-tools, rust, syntax-highlighting.
- [diffr](https://www.automicvault.com/zh-hans/pkg/brew/diffr/) - Shares av.db curated category or tags: cli, developer-tools, syntax-highlighting, terminal.
- [gat](https://www.automicvault.com/zh-hans/pkg/brew/gat/) - Shares av.db curated category or tags: cli, developer-tools, syntax-highlighting, terminal.
- [skylighting](https://www.automicvault.com/zh-hans/pkg/brew/skylighting/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, highlighter, highlighting.
- [tailspin](https://www.automicvault.com/zh-hans/pkg/brew/tailspin/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, highlighter, highlighting.

## Combined YAML source

View the package source record on GitHub. [combined/zsh-patina.yml](https://github.com/automic-vault/db/blob/main/combined/zsh-patina.yml)


## 来源

- Nucleus package database
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
