What is fzf?

fzf is an interactive fuzzy finder for selecting items from a stream.

Homebrew installs fzf as a formula: a package definition for command-line software and its dependencies. If Homebrew is not installed yet, follow the official installation guide before continuing.

Install and check the formula

Refresh Homebrew’s package definitions, then install fzf. Use brew info to inspect the current package and its dependencies; the actual installed version can change over time.

brew update
brew install fzf
brew info fzf

Try it

Type part of an item and press Return to select it; press Escape to cancel.

fzf --version
printf "apple\npear\nplum\n" | fzf

Before you rely on it

Shell integration is optional and may require additional setup. Read the formula notes before changing shell configuration.

For a fixed, noninteractive search, grep or ripgrep is often simpler.

Update or remove it

Run brew outdated to see if a newer version is available, and brew upgrade fzf to upgrade this formula. Before removing it, preview the changes; other packages may depend on it.

brew outdated
brew upgrade fzf
brew uninstall --dry-run fzf

Sources and further reading