command to start mongodb in mac code example
Example 1: install mongodb in mac
// updated 2021
$ brew tap mongodb/brew
$ brew install mongodb-community@4.4
Example 2: install mongodb on mac
//be sure you have GNU's GCC:
brew install gcc
// updated 2021
$ brew tap mongodb/brew
$ brew install mongodb-community@4.4
//be sure you have GNU's GCC:
brew install gcc