Taps are external sources of Homebrew formulae and/or external commands. They can be created by anyone to provide their own formulae and/or external commands to any Homebrew user.
Setup a tap repository
Create a git repository with the following content, for example:
# The files under the "Formula" directory are the formulae.├── Formula
│ └── firstname.lastname@example.org
│ └── email@example.com
│ └── firstname.lastname@example.org
│ └── …
In this example, the repo is named as “homebrew-repo”. Please keep the “homebrew-” prefix and you can rename the “repo” part.
Put the git repo to the git server, such as “email@example.com:auser/homebrew-repo.git”.
Add the tap to your homebrew
Run the following command(s) on your mac:
brew tap auser/repo https://github.com/auser/homebrew-repo.git
# You should see the "auser/repo" tap after running the following command:brew tap
# Run the following command to install the formula from your tap server:brew install firstname.lastname@example.org
# The above command will install the dependent formulae if required. Try# to download the dependencies from the same tap server first. If not# found, it will try the offcial tap then, like "https://homebrew.bintray.com".# Run the following command to remove the formula:brew remove email@example.com