canot install mongodb mac code example
Example 1: brew install mongodb
brew tap mongodb/brew
Example 2: run MongoDB manually as a background process macos
mongod --config /usr/local/etc/mongod.conf --fork
brew tap mongodb/brew
mongod --config /usr/local/etc/mongod.conf --fork