install MongoDB from Mac OS compas code example
Example 1: install mongodb on mac
brew tap mongodb/brew
#step 1
Example 2: install mongodb on mac
brew services start [email protected]
#Step 3 to run as a service
brew tap mongodb/brew
#step 1
brew services start [email protected]
#Step 3 to run as a service