Shell/Bash: how to brew install mongodb Example

By

Shell/Bash Example: This is the "how to brew install mongodb" Example. compiled from many sources on the internet by SimpleTutorials.org

how to brew install mongodb

#Step 1
$ brew tap mongodb/brew

#Step 2 to install latest community version
$ brew install mongodb-community

brew mongo start

brew services start [email protected]

mongodb installation on mac

//Starts Mongdb server @ mongodb://127.0.0.1:27017/
brew services start [email protected]
mongod --config /usr/local/etc/mongod.conf --fork
ps aux | grep -v grep | grep mongod
mongo

start mongodb server mac

mongod --config /usr/local/etc/mongod.conf --fork



* Summary: This "how to brew install mongodb" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!

Others