What does brew tap mean?

Zhang Buzz picture Zhang Buzz · Dec 22, 2015 · Viewed 87.2k times · Source

Sometimes I see articles saying command of brew tap before brew install something. I am wondering what does tap mean? And why must I run tap before install?

Answer

Snowcrash picture Snowcrash · Jun 22, 2016

The tap command allows Homebrew to tap into another repository of formulae. Once you've done this you've expanded your options of installable software.

These additional Git repos (inside /usr/local/Homebrew/Library/Taps) describe sets of package formulae that are available for installation.

E.g.

brew tap                     # list tapped repositories
brew tap <tapname>           # add tap
brew untap <tapname>         # remove a tap