What is fd?

fd is a command-line tool for finding files and directories by name.

Homebrew installs fd 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 fd. Use brew info to inspect the current package and its dependencies; the actual installed version can change over time.

brew update
brew install fd
brew info fd

Try it

This looks for paths matching config under the current directory.

fd --version
fd "config" .

Before you rely on it

Hidden and ignored paths are skipped by default. Consult fd --help if you need to include them.

The standard find command supports portable, detailed file selection; fd offers a shorter interactive syntax.

Update or remove it

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

brew outdated
brew upgrade fd
brew uninstall --dry-run fd

Sources and further reading