Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dannycallaghan
Created January 24, 2014 10:07
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 dannycallaghan/8594864 to your computer and use it in GitHub Desktop.
Save dannycallaghan/8594864 to your computer and use it in GitHub Desktop.
Install Mongo
// Assuming, of course, you have Homebrew
brew update
brew install mongodb
// 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment