Skip to content

Instantly share code, notes, and snippets.

@mikepmunroe
Created August 1, 2013 17:21
Show Gist options
  • Save mikepmunroe/6133417 to your computer and use it in GitHub Desktop.
Save mikepmunroe/6133417 to your computer and use it in GitHub Desktop.
Launch mongo
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