# 使用 Homebrew, apk, MacPorts, Nix, pacman 安装 zsh-history-substring-search

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

## 安装

```sh
sudo av install brew:zsh-history-substring-search
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zsh-history-substring-search
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install zsh-history-substring-search
```

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

### Linux

- apk (92%):

```sh
sudo apk add zsh-history-substring-search
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#zsh-history-substring-search
```

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

- pacman (92%):

```sh
sudo pacman -S zsh-history-substring-search
```

  证据: Arch Linux sync databases: zsh-history-substring-search from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:zsh-history-substring-search
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/zsh-history-substring-search>
- **版本:** 1.1.0
- **来源摘要:** Zsh port of Fish shell's history search
- **主页:** <https://github.com/zsh-users/zsh-history-substring-search>
- **仓库:** <https://github.com/zsh-users/zsh-history-substring-search>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://github.com/zsh-users/zsh-history-substring-search/archive/refs/tags/v1.1.0.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## macOS 提供的库

- zsh

## 安装行为

- post-install 钩子: 未定义
- 注意事项: To activate the history search, add the following at the end of your .zshrc: source $HOMEBREW_PREFIX/share/zsh-history-substring-search/zsh-history-substring-search.zsh You will also need to restart your terminal for this change to take effect.
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.1.0
- 本地数据: OK
- 上游仓库: https://github.com/zsh-users/zsh-history-substring-search
- 检测到的最新版本: v1.1.0 (当前)
- 信息: No package-manager update timestamp was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** zsh-history-substring-search
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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

- Nix - zsh-history-substring-search: normalized package name match | nixpkgs package indexes: pkgs/by-name/zs/zsh-history-substring-search/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- apk - zsh-history-substring-search - 1.1.0-r0: normalized package name match | Alpine Linux edge package indexes: zsh-history-substring-search from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Zsh port of the Fish shell's history search | https://github.com/zsh-users/zsh-history-substring-search
- pacman - zsh-history-substring-search - 1.1.0-2: normalized package name match | Arch Linux sync databases: zsh-history-substring-search from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | ZSH port of Fish history search (up arrow) | https://github.com/zsh-users/zsh-history-substring-search
- MacPorts - zsh-history-substring-search: normalized package name match | MacPorts ports tree: sysutils/zsh-history-substring-search/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [zsh-syntax-highlighting](https://pkg.so/zh-hans/brew/zsh-syntax-highlighting/) - Package names and metadata indicate a similar tool family. Shared terms: fish, shell, zsh.
- [zsh-autosuggestions](https://pkg.so/zh-hans/brew/zsh-autosuggestions/) - Package names and metadata indicate a similar tool family. Shared terms: fish, zsh.
- [zsh-navigation-tools](https://pkg.so/zh-hans/brew/zsh-navigation-tools/) - Package names and metadata indicate a similar tool family. Shared terms: history, zsh.

## 来源

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