MongoDB Documentation, Release 3.0.4 Step 2: Install MongoDB for Windows. Run MongoDB Step 1: Set up the MongoDB environment. Change to the directory containing the .msi installation binary of your choice and invoke: You can specify the installation location for the executable by modifying the INSTALLLOCATION value. By default, this method installs all MongoDB binaries. To install specific MongoDB component sets, you can specify them in the ADDLOCAL argument using a comma-separated list including one or more of the following component sets: For instance, to install only the MongoDB utilities, invoke: Warning: Do not make mongod.exe visible on public networks without running in “Secure Mode” with the auth setting. MongoDB is designed to be run in trusted environments, and the database does not enable “Secure Mode” by default. MongoDB requires a data directory to store all data. MongoDB’s default data directory path is \data\db . Create this folder using the following commands from a Command Prompt : md \data\db You can specify an alternate path for data files using the --dbpath option to mongod.exe , for example: C:\mongodb\bin\mongod.exe --dbpath d:	est\mongodb\data If your path includes spaces, enclose the entire path in double quotes, for example: C:\mongodb\bin\mongod.exe --dbpath "d:	est\mongo db data" You may also specify the dbpath in a configuration file . 2.3. Installation Guides 29 Component Set Binaries Server mongod.exe Router mongos.exe Client mongo.exe MonitoringTools mongostat.exe , mongotop.exe ImportExportTools mongodump.exe , mongorestore.exe , mongoexport.exe , mongoimport.exe MiscellaneousTools bsondump.exe , mongofiles.exe , mongooplog.exe , mongoperf.exe msiexec.exe /q /i mongodb-win32-x86_64-2008plus-ssl-3.0.4-signed.msi ^ INSTALLLOCATION="C:\mongodb" ^ ADDLOCAL="all" msiexec.exe /q /i mongodb-win32-x86_64-2008plus-ssl-3.0.4-signed.msi ^ INSTALLLOCATION="C:\mongodb" ^ ADDLOCAL="MonitoringTools,ImportExportTools,MiscellaneousTools"