How to Install MongoDB on Windows

Step 1: Download the installer: MongoDB Community Server

download mongo db windows


Step 2: Run the MongoDB installer

Example: mongodb-win32-x86_64-2008plus-ssl-4.0.20-signed.msi

Step 3: Follow the MongoDB Community Edition installation wizard

install mongodb step 1

Click Next

install mongodb step 2

Click “I accept…” then click Next

install mongodb step 3

Click complete

install mongodb step 4

You can change Service name, Data directory and Log directory

install mongodb step 5

Click Next
Note: on Windows 7 and MongoDb 4, you can’t install mongodb compass, deselect checkbox Install MongoDB compass

install mongodb step 6

Click Install … wait a few minutes

Done! Now you can see service MongoDB Server on service manager.

Leave a Reply