Installation

Installing MongoDB on a Windows machine is super simple. MongoDB comes with .msidownload for both the x86 and x64 platforms. The current version is 3.2.

Installation notes for various platforms can be found here and platform notes are documented here.

Post Installation

Installed Files

After installation, you can observe the installed files.

For me the installation directory was Program Files under MongoDb.

If i navigate to the directory and explore, all my files are under the /Server/3.2/bin

An ls lists out all the files.

sameeri@smarryboyina MINGW32 /c/Program Files/MongoDB/Server/3.2/bin
$ ls
bsondump.exe*  mongo.exe*   mongod.pdb      mongoexport.exe*  mongoimport.exe*  mongoperf.exe*     mongos.exe*  mongostat.exe*  ssleay32.dll*
libeay32.dll*  mongod.exe*  mongodump.exe*  mongofiles.exe*   mongooplog.exe*   mongorestore.exe*  mongos.pdb   mongotop.exe*

A bunch of exe files. Binaries.

Component Sets

All the MongoDB binaries are categorized by responsibility.

Although the table of component sets is represented in the docs, the categorization is extremely important, hence replicated here.

Component Set Binaries
Server mongod.exe
Router mongos.exe
Client mongo.exe
MonitoringTools mongostat.exe, mongotop.exe
Import, ExportTools mongodump.exe, mongorestore.exe, mongoexport.exe, mongoimport.exe
MiscellaneousTools bsondump.exe, mongofiles.exe, mongooplog.exe, mongoperf.exe

Accessing mongodb files from everywhere

The bin directory needs to be present in the PATH of the system's environment variables. Unless the path is update, we cannot access the mongodb files outside of the installation path.

Sometimes, based on the environment you need to restart your console to reflect the changes you have made to your environment variables.

After this, we are golden. We are ready to begin our MongoDB adventures.