Install MongoDB on Windows 10: Step-by-Step Guide
Set up MongoDB on Windows 10 with a clear, step-by-step walkthrough. Download the server, run mongod, and connect with mongosh in minutes.


MongoDB is a popular open-source, document-based database management system. Installing MongoDB on Windows 10 is quite easy, and this article walks you through it step by step.
Step 1: Download
First, you need to go to the official MongoDB website. https://www.mongodb.com/try/download/community
Then you need to click the Windows option. Here you can download the x64 or x86 version. If you’re not sure which version you need, and you’re running a 64-bit Windows 10 operating system, the x64 version is recommended.
Step 2: Installation
After downloading MongoDB, open the exe file and confirm the required permissions. To complete the installation, click the Next button and accept the license terms.
Then you can choose the installation options. To continue with the standard options, you can select “Complete”.
In the next step, after choosing the installation location, the installation starts when you click the “Install” button. If it installs successfully, you’ll see the message “MongoDB Successfully Installed” on your screen.
Step 3: Configuration
Now that the installation is complete, we need to configure MongoDB’s settings. To do this, you can make the system ready by adding its variables to the Environment variables.
To do this;
- Click the Start menu.
- Type “Environment variables” in the search box.
- Click the “Edit the system environment variables” link.
- In the window that opens, click the “Environment Variables” button.
- In the System variables section, click on the values.
- Click the Path option.
- Click the Edit button and add the address C:\Program Files\MongoDB\Server{version}\bin as a new line at the end. (Here {version} is the MongoDB version number you downloaded.)
Step 4: Test
After the installation is complete, you need to test that MongoDB is running. To do this;
- Open CMD.
- Open a command line.
- Type the command “mongod –version” and if you see your MongoDB version number when you run it, that means it was installed successfully.
You’ve now completed the installation of MongoDB on the Windows 10 operating system. MongoDB, one of the first names that comes to mind when you talk about database management, makes it easy to start building applications 🙂
Share it if it helped


