Installing MongoDB on Windows

MongoDB is a popular open-source NoSQL database management system. Follow these steps to install MongoDB on your Windows computer

1. Visit the MongoDB download page at [https://www.mongodb.com/try/download/community](https://www.mongodb.com/try/download/community).

 

2. Under the “Community Server” section, select your preferred version. Choose the latest stable version for production use.

3. In the “Operating System” dropdown, select “Windows.”

4. Click the “Download” button to start the download.

Step 2: Install MongoDB

1. Locate the downloaded MongoDB installer (usually a .msi file) and double-click it to run the installer.

2. In the MongoDB Setup Wizard, click “Next.”

3. Accept the license agreement and click “Next.”

4. Choose the setup type. The “Complete” option is suitable for most users. Click “Next.”

5. Choose the installation folder. The default location is “C:\Program Files\MongoDB\Server\<version>”. You can change it if needed. Click “Next.”

6. Choose whether you want MongoDB to be installed as a service. It’s recommended to enable this option to run MongoDB as a service. Click “Next.”

 

7. Configure the MongoDB service options. You can change the service name, port, and data directory. By default, MongoDB uses port 27017. Click “Next.”

 

8. Review your choices, then click “Install” to begin the installation process.

9. Wait for the installation to complete. Once done, click “Next.”

 

10. Uncheck the “Install MongoDB Compass” option if you don’t want to install MongoDB Compass (a graphical interface for MongoDB). Click “Next.”

 

11. Click “Install” to complete the installation of MongoDB.

 

12. After the installation is finished, click “Finish” to exit the setup wizard.

Step 3: Start MongoDB

1. MongoDB should now be installed on your Windows system.

2. To start MongoDB, open the Windows Services application by pressing `Win + R`, then type `services.msc` and press Enter.

 

3. Find the MongoDB service, right-click on it, and select “Start.”

 

Step 4: Verify MongoDB Installation

1. Open a command prompt or PowerShell window.

 

2. Type `mongo` and press Enter. This will open the MongoDB shell if MongoDB is running successfully.

 

Congratulations, you’ve successfully installed MongoDB on your Windows system. You can now start using MongoDB to create databases and manage your data.

Expert Instructors
Practical Training
Industry-Relevant Curriculum
Cutting-Edge Tools
Collaborative Learning
Portfolio Development

Limited seats available! Visit JeeviAcademy or call +91 9994051212 to enroll. Start your journey towards a successful career in UI & UX design now!

Admin
Admin
Leave Comment
Share This Blog
Recent Posts
Get The Latest Updates

Subscribe To Our Newsletter

No spam, notifications only about our New Course updates.