53 个开发者工具,始终保持最新 — 上游每次发布后数小时内即可通过 apt 获取。 加入 Discord

📅 自 起,使用本 apt 镜像将需要订阅。 查看价格 · 🆓 有一个永久免费的镜像

🔍 安装最新的 fzf 在 Debian 上

Command-line fuzzy finder written in Go

最新版本:0.74.3 · 更新于 2026-08-17
来源版本
deb.griffo.io0.74.3 ✅
官方 Debian0.60.3 🛑
← 返回首页
📌 在特定发行版本上安装? Debian 12 (bookworm) · Debian 13 (trixie) · Debian 14 (forky) · Debian Sid

什么是 fzf?

fzf is a general-purpose command-line fuzzy finder written in Go by Junegunn Choi. It's an interactive filter program for any kind of list - files, command history, processes, hostnames, bookmarks, git commits, and more. With over 72k GitHub stars, it has become an essential tool for command-line productivity.

🚀 Why Latest Versions Matter: fzf is actively developed with frequent releases containing performance improvements, new features, and enhanced integrations. The latest versions include improved preview capabilities, better shell integration, tmux support, and advanced customization options.

⚡ Key Features of fzf

📦 Portable & Fast

Single binary distribution with blazingly fast performance. Instantly processes millions of items with optimized Go implementation.

🛠️ Extremely Versatile

Fully customizable via event-action binding mechanism. Works with any kind of list input - files, processes, commands, etc.

🔋 Shell Integration

Built-in integration with bash, zsh, and fish. Includes key bindings for file search (Ctrl-T), command history (Ctrl-R), and directory navigation (Alt-C).

🖼️ Preview Window

Real-time preview of files, images, and content. Supports syntax highlighting, image display, and custom preview commands.

🎨 Highly Customizable

Multiple display modes, color schemes, layout options, and style presets. Theme playground available for interactive customization.

🔌 Editor Integration

Vim and Neovim plugins available. Seamless integration with popular editors and development workflows.

🚀 始终领先于官方软件源:Debian 和 Ubuntu 在发布时会冻结软件包版本——本仓库通常在上游发布后数小时内即发布新版本。只需 apt upgrade 即可始终保持最新版本。

📦 从 deb.griffo.io 安装

运行命令

步骤 1:添加仓库

sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
sudo apt update
install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://deb.griffo.io/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | gpg --dearmor --yes -o /etc/apt/keyrings/deb.griffo.io.gpg
echo "deb [signed-by=/etc/apt/keyrings/deb.griffo.io.gpg] https://deb.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | tee /etc/apt/sources.list.d/deb.griffo.io.list > /dev/null
apt update
sudo apt install extrepo
sudo extrepo enable griffo
sudo apt update

🆓 有一个永久免费的镜像。 deb-free.griffo.io 永久免费提供软件包 — 无需账号、无需订阅,最多落后上游 2 个月,安全修复立即发布。目前收录 cliamp、Ghostty、lazydocker、Oh My Posh 和 Zed;fzf 不在其中,因此今天只能通过上面的仓库安装 — 提出请求即可将其加入。

免费镜像的工作方式 →

🧩 关于 extrepo 选项。 extrepo 是 Debian 官方用于管理第三方仓库的工具:它会替你写好 sources 文件并安装签名密钥,并在使用前先对照签名元数据校验该密钥。本仓库以 griffo 之名登记其中,永久免费镜像则为 griffo-free,因此在 Debian(bookworm、trixie、forky、sid)上,上面的命令就是全部配置。

extrepo 只负责 sources 文件和密钥,订阅凭据仍然要写入 /etc/apt/auth.conf.d/deb.griffo.io.conf。Ubuntu 不在覆盖范围内,因为 extrepo 只发布 Debian 各套件的元数据:在 Ubuntu 上请使用 sudo 或 root 的命令。

步骤 2:安装 fzf

# Install latest fzf
sudo apt install fzf

# Verify installation
fzf --version
# Install latest fzf
apt install fzf

# Verify installation
fzf --version

Step 3: Set Up Shell Integration

# For bash users
echo 'eval "$(fzf --bash)"' >> ~/.bashrc

# For zsh users  
echo 'source <(fzf --zsh)' >> ~/.zshrc

# For fish users
echo 'fzf --fish | source' >> ~/.config/fish/config.fish

# Reload shell
source ~/.bashrc  # or ~/.zshrc

🎯 基本使用示例

Interactive file finder:

# Find and edit files
vim $(fzf)

# Find files with preview
fzf --preview 'cat {}'

# Find files with syntax highlighting
fzf --preview 'bat --color=always {}'

Shell integration keybindings:

# Ctrl-T: Find files and directories
# Type any command, then press Ctrl-T to insert selected files

# Ctrl-R: Search command history
# Press Ctrl-R to search and select from command history

# Alt-C: Change directory
# Press Alt-C to fuzzy find and cd into directories

Advanced usage:

# Search processes and kill
ps aux | fzf | awk '{print $2}' | xargs kill

# Search git commits
git log --oneline | fzf | awk '{print $1}' | xargs git show

# Interactive ripgrep
rg --color=always --line-number . | fzf --ansi

# Multi-select mode
find . -type f | fzf -m

🔧 Tool Integrations

fzf works perfectly with other modern command-line tools:

  • fd: Use as file source for respecting .gitignore
  • ripgrep: Interactive grep with live reload
  • bat: Syntax-highlighted file previews
  • eza: Enhanced file listing with fzf filtering
  • zoxide: Smart directory jumping with fuzzy search

🚀 为什么选择 deb.griffo.io?

📊 Repository Comparison:
  • Official Debian: Available but often outdated versions
  • Manual Installation: Requires Go toolchain or manual binary management
  • deb.griffo.io: Latest version with automatic updates

📦 软件包构建仓库

Debian 软件包在此 GitHub 仓库中自动构建和维护:

🔗 相关软件包

也可从 deb.griffo.io 获取:

🎯 Perfect for: Command-line power users, developers who want faster file and command searching, anyone looking to improve terminal productivity, and users who appreciate fuzzy matching for navigation.

📦 本仓库最近发布

❓ 常见问题

fzf 在官方 Debian 软件源中吗?

在,但官方 Debian 源只提供 fzf 0.60.3,而本仓库提供 fzf 0.74.3,每次上游发布后数小时内重新构建。

如何在 Debian 上安装最新版 fzf?

按上方说明一次性添加 deb.griffo.io 仓库,然后运行:sudo apt install fzf。之后通过常规的 sudo apt upgrade 获取新版本。

软件包是否有签名?如何构建?

每个软件包都使用仓库的 GPG 密钥(EA0F721D231FDD3A0A17B9AC7808B4DD62C41256)签名,并基于上游发布在公开的 GitHub 仓库中构建,任何人都可以审查。

支持哪些 Debian 版本?

Debian 12 Bookworm、Debian 13 Trixie、Forky 和 Sid。