Skip to content

Instantly share code, notes, and snippets.

@tomysmile
Created July 11, 2016 05:52
Show Gist options
  • Save tomysmile/cdf71186e700e88c2a943bd70ceb3424 to your computer and use it in GitHub Desktop.
Save tomysmile/cdf71186e700e88c2a943bd70ceb3424 to your computer and use it in GitHub Desktop.
MongoDB Brew installation

Update Homebrew’s package database.

brew update

To install the MongoDB binaries, issue the following command in a system shell:

brew install mongodb

To install as a services :

brew services start mongodb

or as a standalone process:

mongod --config /usr/local/etc/mongod.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment