Why can't brew find a specific known formula?

I am trying to install bazel on my mac (10.11.5).

I see that it is available through brew: http://braumeister.org/formula/bazel

But when I run "brew install bazel", I get the following:

Error: No available formula for bazel Searching formulae... Searching taps... 

Why is this?

+5
source share
2 answers

You need to upgrade your mittens because it is really affordable. Run

 brew update brew install bazel 

and then it should work.

+4
source

In my case, Homebrew was already updated after running brew update , and I still got the same error messages as the OP when trying to install xdebug:

 $ brew update Already up-to-date. $ brew install php70-xdebug Error: No available formula with the name "php70-xdebug" 

Using the Mark clause from the comments on the OP solved the problem:

 $ brew search xdebug homebrew/php/xdebug-osx homebrew/php/php70-xdebug 

So, by running $ brew install homebrew/php/php70-xdebug , Homebrew found and installed the package.

+3
source

All Articles