INSTALLING MONGODB ON WINDOWS
As a student or a learner when you explore about databases you must have come across mongoDB.
If not let me introduce it to you!
MongoDB is a popular NoSQL database used by developers around the world to store and manage large volumes of unstructured data. Whether you’re building web apps or experimenting with data science, MongoDB is a powerful tool to have.
Now, if you wonder “How do I even get this thing on my system?” do not worry because I’ve got you completely covered! Even if you are not into tech, this guide will walk you through the process entirely. It will show to you how to install MongoDB on a Windows PC.
Before we begin make sure to have :-
A windows 10 or 11 (64 bit)
A stable internet connection
And some patience
Here we go :
Step 1: Download MongoDB
1. Head to the official MongoDB for download on its page.
2. Make sure that these are now the settings.
• Version: Latest stable
• Platform: Windows
• Package: MSI
3. You should wait for the installer to finish, then click Download.
Step 2: Install MongoDB
1. You can just download the file then open it.
2. Click Next, and then a welcome screen is what you’ll see.
3. Click Next, then accept the license agreement.
4. Installation that is “Complete” is what you have to choose.
5. Keep the settings default then allow MongoDB to operate like a service.
6. MongoDB Compass, is installable. Check that too.
7. click Install and relax.
Step 3: Set up the environment
MongoDB is installed currently, but your system doesn’t yet know where it is. Let’s fix that.
1. Go to the start menu and type :
Edit the system environmental variables
2. Under the system variables go to path and click edit
3. Click new and then paste -
C:\Program Files\MongoDB\Server\<your version>\bin
4. Save and close all windows
Step 4: Create a data folder
- Open Command Prompt as administrator.
- Type: C:\>md data
C:\md data\db
- you need to create this folder using the Command Prompt.
Steps to Install MongoDB : SCREEN SHOTS
/ 55
Of

Step 5: Start the mongodb shell / server
1: In the command prompt write “mongosh”
2: This will start the mongo db server and if you see a lot of logs then the server is working.
You can now start creating databases, inserting documents, and running queries.
So basically as summary we can recap this- firstly Download MongoDB (MSI) ; then Install it with default settings , after that Add MongoDB to system PATH and then Create C:\data\db folder , now Run mongo to start server and lastly Run mongo to open the shell
Wasn’t that simple !
Just as to use mongodb.
BHUMIKA WADHWANI
University: Sri Balaji University, Pune
School: School of Computer Studies
Course: BCA (Bachelor of Computer Applications)
Interests: NoSQL, MongoDB, and related technologies
📸 Instagram
🔗 LinkedIn
🌐 Official Website
Wowww
ReplyDeleteGreattt
ReplyDeleteAmazing
ReplyDeleteNice
ReplyDeleteFab
ReplyDelete