mongodb community install mac code example
Example 1: install mongodb on mac
brew tap mongodb/brew
#step 1
Example 2: install mongodb on mac
brew install mongodb-community@4.2
#Step 2
brew tap mongodb/brew
#step 1
brew install mongodb-community@4.2
#Step 2