Actually, brew returns 0 even if it's already installed.  We must use grep.

Test plan:
Will test on mac