# 使用 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
- **版本:** 1.1
- **来源摘要:** Fast, simple fuzzy text selector with an advanced scoring algorithm
- **主页:** <https://github.com/jhawthorn/fzy>
- **仓库:** <https://github.com/jhawthorn/fzy>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- fzy (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
