

This time you should get a proper response that MongoDB has been installed correctly. Hit Enter and continue clicking OK until all the boxes are closed. STEP 9: Click on New again and paste the address you copied.

Go back to the directory where you got a proper installation response and copy the address. STEP 8: In the next pop-up, click on New in order to paste your installation path. STEP 7: Under system variables, select path and click on edit. You can find this in the control panel too. STEP 5: Search for "environment" on your machine and click “Edit the system environment variables”. This is because your path variable has not been assigned, meaning you have to set environment variables on your machine. The response is “mongo is not recognized as an internal or external command operable program or batch file.

STEP 4: Next, close the command prompt and launch it in no directory this time. This means MongoDB has been rightly installed on your machine.

You will see the version of the MongoDB installed. STEP 3: Click on the address bar and type cmd to launch your windows command prompt. They are Mongo, MongoDB, and Mongo shell respectively. There, you should find Mongo.exe, mongod.exe, and mongos.exe. STEP 2: Once it is done installing, navigate to C:/ProgramFiles/MongoDB/Server/4.4/bin. My preference is to uncheck the box so I can download and install it separately. You can choose to install Mongo Compass here it would just take more time to install everything. Select Complete as your setup type and keep the next item on default. Make sure you select msi as the package type and not zip.įollow the installer wizard to install MongoDB. STEP 1: First of all, you need to download MongoDB from the official website. In this article, I will walk you through the step-by-step guide on how to install MongoDB on your Windows 10 operating system, with insights on GUI tools such as Mongo Compass and Robo 3t. Unlike SQL databases that are like advanced spreadsheets, MongoDB stores data in JSON-like key-value pair called BSON (Binary JSON) in order to support features JSON does not. MongoDB is a NoSQL database that has gained popularity in recent times. This article was initially published on Hashnode
