Reputation: 386
As part of new joinees, we provide the FAQ for running internal homebrew formula, that installs from zip/tar.gz files, we install using " brew tap ..." . However, we are separately running "brew install [email protected]" as well as running "brew tap...". Question - wanted to consolidate all brew commands into one using formula, i.e i wanted to have ability to install for this package name "[email protected]" into TAP formula we have.
Please share the information if any.
Let me know if not clear.
Upvotes: 0
Views: 511
Reputation: 19810
You can run brew install [email protected] && brew tap ...
, but you can’t combine brew install [email protected]
and brew tap ...
into one brew
command.
However, running brew install
on a formula from a tap you don’t have automatically tap
s the latter:
brew install org/tap/thing
Is equivalent to:
brew tap org/tap
brew install org/tap/thing
Where org/tap
is the GitHub repository https://github.com/org/homebrew-tap
.
This means that if you want to install [email protected]
as well as some other formula from that tap, you can run a command like this:
brew install [email protected] org/firsttimesetup/xyz
Which is equivalent to:
brew tap org/firsttimesetup
brew install [email protected] org/firsttimesetup/xyz
Upvotes: 1