MongoDB Documentation, Release 3.0.4 Install MongoDB Install MongoDB with Homebrew Step 1: Update Homebrew’s package database. Step 2: Install MongoDB. Install MongoDB Manually Step 1: Download the binary files for the desired release of MongoDB. You can install MongoDB with Homebrew 7 or manually. This section describes both. Homebrew 8 installs binary packages based on published “formulae.” This section describes how to update brew to the latest packages and install MongoDB. Homebrew requires some initial setup and configuration, which is beyond the scope of this document. brew update You can install MongoDB via brew with several different options. Use one of the following operations: In a system shell, issue the following command: Install the MongoDB Binaries To install the MongoDB binaries, issue the following command in a system shell: brew install mongodb Build MongoDB from Source with TLS/SSL Support To build MongoDB from the source files and include TLS/SSL support, issue the following from a system shell: brew install mongodb --with-openssl Install the Latest Development Release of MongoDB To install the latest development release for use in testing and development, issue the following command in a system shell: brew install mongodb --devel Only install MongoDB using this procedure if you cannot use homebrew (page 25). Download the binaries from https://www.mongodb.org/downloads . For example, to download the latest release through the shell, issue the following: curl -O https://fastdl.mongodb.org/osx/mongodb-osx-x86_64-3.0.4.tgz $^{7}$http://brew.sh/ $^{8}$http://brew.sh/ 25 2.3. Installation Guides