How to Install MongoDB on Windows (MongoDB Installation)
step-by-step guide to install MongoDB on Windows:
1. Download MongoDB
- Visit
the official site: mongodb
- Choose:
- Version:
Latest stable (e.g., MongoDB 6.0+)
- OS:
Windows
- Package:
MSI
- Click
Download
2. Run the Installer (.msi file)
- Double-click
the downloaded .msi file.
- Click
Next on the welcome screen.
3. Accept License Agreement
- Select
"I accept the terms", then click Next.
4. Choose Setup Type
- Select
Complete for full installation.
5. Service Configuration
- Leave
defaults:
- Run
service as Network Service user
- Install
MongoDB as a Service (recommended)
- Click
Next
6. Finish Installation
- Click
Install
- Once
complete, click Finish
7. Verify Installation
Open Command Prompt and type:
mongo --version
If installed correctly, it will show the
MongoDB version.
YouTube Link : How to Install MongoDB on Windows (MongoDB Installation)
