Skip to content

Instantly share code, notes, and snippets.

@juandiegoh
Last active December 15, 2015 04:09
Show Gist options
  • Save juandiegoh/5199995 to your computer and use it in GitHub Desktop.
Save juandiegoh/5199995 to your computer and use it in GitHub Desktop.
First steps to install and run MongoDB on Mac OS X
-- you need to have brew installed
brew update
brew install mongodb
-- run mongod which fires the mongo service
mongod
-- open another terminal and run mongo, this opens MongoDB Shell
mongo
-- show all your databases
> show dbs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment