BREW
# userful commands
brew search TEXT|/REGEX/
brew info [FORMULA|CASK...]
brew install FORMULA|CASK...
brew update
brew upgrade [FORMULA|CASK...]
brew uninstall FORMULA|CASK...
brew cleanup
brew list --formula | grep php
# troubleshooting:
brew config
brew doctor
brew install --verbose --debug FORMULA|CASK
# install XML::LibXML on a Mac. Once you have the libxml2 library installed, you can install the XML::LibXML Perl module using standard tools such as cpan or cpanm
brew install libxml2
cpan install XML::LibXML