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