DEV Community

Cover image for How to properly install MongoDB on windows 10
Yunwen Eric
Yunwen Eric

Posted on

How to properly install MongoDB on windows 10

What is MongoDB

MongoDB is a cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with optional schemas. MongoDB is developed by MongoDB Inc. and licensed under the Server Side Public License (SSPL).
Relational databases are fast growing and gaining grounds in modern day tech related fields like AI, Machine Learning, Big Data, Data sciences and more. Nowadays, relational databases are easy to learn and approach as well and MongoDB happens to be one of them.

Procedure

To install MongoDB, the following steps should be used:

Step 1:

Head to the official MongoDB website and download the latest version of MongoDB Community server. Click here

Alt Text

Step 2:

Locate the downloaded file and run the installation by right clicking on it then clicking install on the dropdown.

Alt Text

Step 3:

Agree to the terms and conditions of installations then click on next
Alt Text

Step 4:

After approving the terms and conditions, this page pops up. Click on next to continue
Alt Text

Step 5:

Choose the type of installation you’ll need. The complete installation is recommended as it will completely install all necessary and demanded features of MongoDB. But if you are an advanced user and want to go ahead with custom installations, that’s okay. For simplicity, I will use the complete installation procedure. Click on next after this.

Alt Text

Step 6:

Next, you need to specify the configuration of MongoDB. If you will like it to run as a network service user or a local/domain user.

Alt Text

Step 7:

Click on install and wait for the process to complete

Alt Text

Step 8:

Be patient and wait while the installation process completes

Alt Text

Step 9:

Click on finish and you are done

Alt Text

Conclusion

To use MongoDB, you will need to run the script from the installation directory. How ever to make it accessible everywhere on your command line, you will need to add it to your system path.
If you will like me to write a post on how to add this, comment on this post and let me know

Thanks
Merry Christmas and Happy New Year 2021
Alt Text

Top comments (0)