Installing MongoDB
MongoDB can also be easily downloaded by visiting the official MongoDB website and accessing the downloads section from http://www.mongodb.org/downloads.
Once there, be sure to download the correct version depending on your OS and CPU (32 or 64 bit). For Windows users, you can opt to download the MSI installer file, which will make the installation much simpler.
Note
Depending on the version of MongoDB you downloaded, you will want to replace <version>
in the following sections with the appropriate version number that matches your file.
Mac OS X installation instructions
If you are using the Homebrew package manager, MongoDB can be installed using the following two commands:
$ brew update $ brew install mongoDB
The remainder of this ...
Get Web Development with MongoDB and NodeJS - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.