Skip to content

Instantly share code, notes, and snippets.

@naokits
Created August 23, 2013 13:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save naokits/6319486 to your computer and use it in GitHub Desktop.
Save naokits/6319486 to your computer and use it in GitHub Desktop.
mongodb update
% brew upgrade mongodb
==> Upgrading 1 outdated package, with result:
mongodb 2.4.5
==> Upgrading mongodb
==> Downloading http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-2.4.5.tgz
######################################################################## 100.0%
==> 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
==> Summary
🍺 /usr/local/Cellar/mongodb/2.4.5: 21 files, 287M, built in 53.6 minutes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment