Windows Installation

Lesson 3
Author : Afrixi
Last Updated : February, 2023
MongoDB - noSQL Database
This course covers the basics of working with MongoDB.

To install MongoDB on Windows, follow these steps:

  1. Download the MongoDB Community Server installer from the official MongoDB website at

  2. Double-click on the downloaded file to start the installation process.

  3. Choose “Custom” as the setup type and make sure that all the features are selected.

  4. Set the data directory location for the MongoDB instance. This is where the MongoDB data files will be stored. The default location is “C:\data\db”.

  5. Choose whether to install MongoDB as a service or as an application. Installing MongoDB as a service will ensure that it starts automatically when the computer boots up. If you choose to install it as an application, you will need to manually start the MongoDB server every time you want to use it.

  6. Click “Install” to start the installation process.

  7. Once the installation is complete, MongoDB is ready to use.

  8. To verify that MongoDB is running, open a command prompt and type “mongo”. This will start the MongoDB shell.

Congratulations, you have successfully installed MongoDB on Windows!