fzf
A general-purpose command-line fuzzy finder.
fzf is a general-purpose command-line fuzzy finder. It reads a list on stdin and displays an interactive picker; as you type, items are filtered with a fast fuzzy-matching algorithm and the best matches surface to the top. Selection emits the chosen item back on stdout.
The genius of fzf is the breadth of things it composes with. Shell-key bindings let you fuzzy-search bash/zsh/fish history (Ctrl-R), files in the current directory, git branches, kubectl contexts, docker images, AWS profiles, and many other "pick one" workflows. Editor plugins do the same inside Vim/Neovim, Emacs, and VS Code.
Junegunn Choi has maintained fzf since 2013. Distribution is straightforward: cargo install fzf, brew install fzf, or distribution packages. It is one of those tools whose absence becomes immediately noticeable once you have grown used to having it on every machine.
Install
Debian/Ubuntu: sudo apt install fzf Fedora/RHEL: sudo dnf install fzf Arch: sudo pacman -S fzf macOS: brew install fzf
Authors
- Junegunn Choi (creator)