SyntaxFix
Write A Post
Hire A Developer
Questions
brew help. If brew is there, you get output. If not, you get 'command not found'. If you need to check in a script, you can work out how to redirect output and check $?.
brew help
$?