I would like to have a private brew tap
for homebrew that is not hosted on GitHub. I've tried simply cloning the tap's repo into /usr/local/Library/Taps
but doesn't appear to work. Anyone figured this out?
The brew tap command You can install and uninstall them with brew [un]install , and the formulae are automatically updated when you run brew update .
Taps (Third-Party Repositories) The brew tap command adds more repositories to the list of formulae that Homebrew 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 new short answer is yes: brew any-tap
has been merged into brew tap
so any repository, including private GitHub ones should now be supported.
brew tap
restricts users to GitHub and checks for private repos. I createdbrew any-tap
to support a wider variety of taps.With very small changes (and no extra flags!), this PR brings
any-tap
to brew.Users can use brew tap with GitHub as they always have or add one extra argument and tap any repository of any type from anywhere.
tl;dr
brew tap user/name # Same as it ever was
brew tap user/name URL # Tap URL, whatever it happens to be
Short answer: It's not supported, but there's a hacky way to do it if you're bound and determined: https://github.com/telemachus/homebrew-anytap
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With