commands to install mongo on mac code example
Example 1: brew install mongodb
brew tap mongodb/brew
Example 2: install mongodb on mac
//be sure you have GNU's GCC:
brew install gcc
brew tap mongodb/brew
//be sure you have GNU's GCC:
brew install gcc