Last active
December 15, 2015 04:09
-
-
Save juandiegoh/5199995 to your computer and use it in GitHub Desktop.
First steps to install and run MongoDB on Mac OS X
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- 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