In this article, I will install MongoDB server (Community Server version – Free)
Download MongoDB
Visit https://www.mongodb.com/download-center#community to download the MongoDB installation file
Install MongoDB
Double-click the downloaded MongoDB installation file above.
Select ‘I accept the terms in the License Agreement’
For those of you who are not familiar with the setup type, just choose compelete so that it installs all the auxiliary software
In case you want to customize (Custom) it will show the items you want to install.
Select a folder to save data and log for MongoDB.
This is where the MongoDB software is installed after installation
Create an environment variable for MongoDB
Right-click the computer icon or go to the computer and right-click -> select Properites
Select ‘Advanced system settings’.
Select the ‘Advanced’ tab and click ‘Enviroment Variables’
Add the MongoDB bin directory to the path
Test MongoDB by opening a cmd or powerShell screen and running the command mongo
Result:
Okay, Done!