Taps (Third-Party Repositories)

brew tap adds more repositories to the list of formulae that brew tracks, updates, and installs from. By default, tap assumes that the repositories come from GitHub, but the command isn’t limited to any one location.

The brew tap command

$ brew tap

Repository naming conventions and assumptions

Formula with duplicate names

If your tap contains a formula that is also present in homebrew/core, that’s fine, but it means that you must install it explicitly by default.

Whenever a brew install foo command is issued, brew will find which formula to use by searching in the following order:

If you need a formula to be installed from a particular tap, you can use fully qualified names to refer to them.

You can create a tap for an alternative vim formula. The behaviour will be:

brew install vim                     # installs from homebrew/core
brew install username/repo/vim       # installs from your custom repository

As a result, we recommend you give formulae a different name if you want to make them easier to install. Note that there is (intentionally) no way of replacing dependencies of core formulae with those from taps.

Fork me on GitHub