https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/
To run MongoDB (i.e. the mongod process) as a macOS service, issue the following:
brew services start mongodb-community
brew services stop mongodb-community
To run MongoDB manually as a background process, issue the following:
mongod --config /usr/local/etc/mongod.conf --fork
fresh 下载安装fersh:https://github.com/gravityblast/fresh