# 使用 Homebrew, apk, apt, MacPorts, Nix, pacman, zypper 安装 fzy

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

## 安装

```sh
sudo av install brew:fzy
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fzy
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install fzy
```

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

### Linux

- apk (92%):

```sh
sudo apk add fzy
```

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

- Debian apt (92%):

```sh
sudo apt install fzy
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#fzy
```

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

- pacman (92%):

```sh
sudo pacman -S fzy
```

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

- zypper (92%):

```sh
sudo zypper install fzy
```

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

## 软件包事实

- **软件包键:** brew:fzy
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/fzy>
- **版本:** 1.1
- **来源摘要:** Fast, simple fuzzy text selector with an advanced scoring algorithm
- **主页:** <https://github.com/jhawthorn/fzy>
- **仓库:** <https://github.com/jhawthorn/fzy>
- **许可证:** MIT
- **源码归档:** <https://github.com/jhawthorn/fzy/archive/refs/tags/1.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- fzy (cli)
- fzy (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.1
- 本地数据: OK
- 上游仓库: https://github.com/jhawthorn/fzy
- 检测到的最新版本: 1.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

fzy is a small fuzzy text selector for the terminal, written in C, with an emphasis on speed, simplicity, and scoring quality. Its README presents it as both a command-line selector and an editor-plugin building block.

### 项目历史

The repository was created in July 2014, and GitHub Releases show early 0.x releases in October 2014. The README positions fzy against fzf, pick, selecta, ctrlp, and similar tools, arguing that its scoring favors consecutive letters and word starts rather than merely short matches.

The 1.0 release was published in 2018, and the fzy 1.1 man page is dated July 2025. The man page describes the stable core interface: read newline-separated items from stdin, show a terminal menu, narrow with fuzzy matching, and print the selected item to stdout.

### 采用历史

The upstream README documents installation through Homebrew, MacPorts, Arch Linux/MSYS2 pacman, FreeBSD pkg, Gentoo Portage, Ubuntu/Debian apt, pkgsrc, openSUSE zypper, and source builds. That breadth reflects fzy's role as a compact Unix-style filter that distribution maintainers can package easily.

### 使用方式

fzy is normally used as a filter in shell pipelines, for example `ls | fzy`, `vi $(find -type f | fzy)`, choosing a directory to `cd` into, selecting a process to kill, or selecting a Git branch. The README also gives Vim integration examples that pipe file lists through fzy and then open the selected file.

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

fzy is significant as the minimal C member of the fuzzy-finder family: it exposes the classic stdin-to-stdout Unix interface, has a documented scoring algorithm, avoids a large runtime, and is small enough to be carried by many Unix package systems.

### 时间线

- 2014: GitHub repository created.
- 2014: Releases 0.1 and 0.2 published.
- 2018: Release 1.0 published.
- 2025: Release v1.1 published and man page dated for fzy 1.1.

### Related projects

- The README compares fzy with fzf, pick, selecta, and ctrlp, and lists fzy.js as a JavaScript port. Its Vim usage examples place it in the same editor-workflow space as older fuzzy file selectors.

### 来源

- <https://api.github.com/repos/jhawthorn/fzy>
- <https://github.com/jhawthorn/fzy>
- <https://github.com/jhawthorn/fzy/releases>
- <https://raw.githubusercontent.com/jhawthorn/fzy/master/README.md>
- <https://raw.githubusercontent.com/jhawthorn/fzy/master/fzy.1>


## 安全说明

narrow executable package without higher-risk signals.

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

## 源数据库详情

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

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

- Debian apt - fzy - 1.0-1: normalized package name match | Debian stable package indexes: fzy from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | fast, simple fuzzy text selector | https://github.com/jhawthorn/fzy
- Nix - fzy: normalized package name match | nixpkgs package indexes: pkgs/by-name/fz/fzy/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - fzy - 1.0-1: normalized package name match | Ubuntu 24.04 LTS package indexes: fzy from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | fast, simple fuzzy text selector | https://github.com/jhawthorn/fzy
- apk - fzy - 1.1-r1: normalized package name match | Alpine Linux edge package indexes: fzy from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A better fuzzy finder | https://github.com/jhawthorn/fzy
- apk - fzy-doc - 1.1-r1: normalized package name match | Alpine Linux edge package indexes: fzy-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | A better fuzzy finder (documentation) | https://github.com/jhawthorn/fzy
- pacman - fzy - 1.1-1: normalized package name match | Arch Linux sync databases: fzy from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | A better fuzzy finder | https://github.com/jhawthorn/fzy
- zypper - fzy - 1.1-1.5: normalized package name match | openSUSE Tumbleweed package metadata: fzy from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | A fuzzy text selector | https://github.com/jhawthorn/fzy
- MacPorts - fzy: normalized package name match | MacPorts ports tree: devel/fzy/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.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [fzf](https://pkg.so/zh-hans/brew/fzf/) - Shares pkgdb curated category or tags: cli, developer-tools, fuzzy-finder, terminal.
- [neovim](https://pkg.so/zh-hans/brew/neovim/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, vim.
- [television](https://pkg.so/zh-hans/brew/television/) - Shares pkgdb curated category or tags: cli, developer-tools, fuzzy-finder, terminal.
- [sk](https://pkg.so/zh-hans/brew/sk/) - Shares pkgdb curated category or tags: cli, developer-tools, fuzzy-finder, terminal.
- [notcurses](https://pkg.so/zh-hans/brew/notcurses/) - Shares pkgdb curated category or tags: c, cli, developer-tools, terminal.
- [pyvim](https://pkg.so/zh-hans/brew/pyvim/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, vim.
- [mle](https://pkg.so/zh-hans/brew/mle/) - Shares pkgdb curated category or tags: c, cli, developer-tools, terminal.
- [with-readline](https://pkg.so/zh-hans/brew/with-readline/) - Shares pkgdb curated category or tags: cli, developer-tools, terminal, unix.
- [selecta](https://pkg.so/zh-hans/brew/selecta/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, finder, fuzzy.
- [fuzzy-find](https://pkg.so/zh-hans/brew/fuzzy-find/) - Local package facts share a topical domain. Shared terms: c, cli, developer, developer-tools, finder.

## Combined YAML source

View the package source record on GitHub. [combined/fzy.yml](https://github.com/mxcl/pkgdb/blob/main/combined/fzy.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
