install brew from terminal code example
Example 1: how to install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Example 2: install brew on mac
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Example 3: open homebrew mac
$ brew install wget
Example 4: how to install using brew
brew install ant