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.
Create a git repository with the following content, for example:
# The files under the "Formula" directory are the formulae.
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”.
Run the following command(s) on your mac:
brew tap auser/repo https://github.com/auser/homebrew-repo.git
# Run the following command to install the formula from your tap server:
brew untap auser/repo