We're looking at ways to create custom packages and do package management for Macs on which the users do not have admin access. The packages are going to be tools and configurations that are for use within our company only and can not be placed on Github. Is there a way to set up a tap to a Git repository on our private network?
Homebrew now supports taps from everywhere. The only thing you need is an URL with a protocol git
can understand.
Choose an username and a tap name, and ask your users to run the following command:
brew tap username/tapname https://the-url-to-your-repo.example.com
The username/tapname
part will be used to refer to your tap in case there’s a conflict, between e.g. vim
(the core formula) and username/tapname/vim
(your own fork). You might want to use something like yourcompany/packages
. The URL doesn’t need to be in https
, you can use git://
or anything else git
understands.
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