Skip to content

MongoDB on OS X with Homebrew

Michael Hulse edited this page Apr 9, 2015 · 1 revision
$ brew install mongodb
==> Downloading https://homebrew.bintray.com/bottles/mongodb-3.0.1.yosemite.bottle.tar.gz
######################################################################## 100.0%
==> Pouring mongodb-3.0.1.yosemite.bottle.tar.gz
==> Caveats
To have launchd start mongodb at login:
    ln -sfv /usr/local/opt/mongodb/*.plist ~/Library/LaunchAgents
Then to load mongodb now:
    launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist
Or, if you don't want/need launchctl, you can just run:
    mongod --config /usr/local/etc/mongod.conf
==> Summary
🍺  /usr/local/Cellar/mongodb/3.0.1: 17 files, 153M

More info to come …

Clone this wiki locally