A command-line fuzzy finder
open sourceMITself-hostablefree
fzf is a general-purpose command-line fuzzy finder and interactive terminal toolkit. It reads any list (files, history, processes, git branches) on stdin and lets you pick items by typing fuzzy queries, with previews. It ships as a single binary with integrations for Bash, Zsh, Fish, Nushell, Vim and Neovim, and an event-driven design for building custom terminal menus.
Ways to install
Package managers
Problems it solves
- Ctrl-R history search in bash is awful, I want to type a few letters and see matches
- pick a file interactively from thousands without typing the full path
- build a quick interactive menu in a shell script that lets the user choose an item
- switch git branches by typing part of the name instead of copy-pasting
- select a process to kill from a filterable list
- show a preview of the file contents while I am choosing which one to open
- my shell scripts need a selection UI without writing a TUI
- jump into a subdirectory by fuzzy matching its name
- filter huge lists (millions of lines) interactively in the terminal
Features
- fuzzy matching
- preview window
- shell key bindings (CTRL-T, CTRL-R, ALT-C)
- fuzzy completion
- Vim/Neovim plugin
- popup mode
- event bindings for custom UIs
Capabilities
| Has a command line tool | plan not known |
|---|
Alternatives
The same job
These do what fzf does.
- Atuin Making your terminal magical