brew install mongo db code example
Example 1: brew mongo start
brew services start [email protected]
Example 2: start mongodb server mac
mongod --config /usr/local/etc/mongod.conf --fork
brew services start [email protected]
mongod --config /usr/local/etc/mongod.conf --fork