How to install MongoDB on Windows 10/11 [2022 Update] Step by Step guide for Command-Line & GUI

preview_player
Показать описание
Hello Everyone! Today in this video I am going to step by step guide you on How to install MongoDB 6 on Windows 10/11. Windows (64-bit).

After that, I am also going to show you How to Create a database and collections using Command-line. And then I will also show you how to download MongoDB Compass for using MongoDB in a Graphic User Interface. So let's begin. I promise you if you watch the entire video, you would not have any doubt about using the GUI interface + installation of MongoDB.

Geeky Script (
@GeekyScript) is Computer Science - Educational Videos Creator 🎉
You can support by buying a coffee ☕️ here —

✻ I really hope you find this video useful. ♥

✻ Please click on the CC button to read the subtitles of this video.

Step 1. First You need to download MongoDB software. So for that just go to the following link:
This page will lead to the MongoDB download page.

Find the installation file and click on it to download.
Now after downloading MongoDB save the file to the disk and follow the next step for installation.

Step 2. Install MongoDB
Double click to run the MongoDB installation file. Just follow the prompt as shown in the video and install MongoDB in your OS.

After the installation of MongoDB in your machine, you need to set the environment variables. So for that Just follow the video. This is very very important.

Step 3. Now create a database and collection in your MongoDB and check everything is working fine or not.

:::SYNTAX:::
show dbs - To print a list of all databases on the server.
use {db} - To switch current database to {db}
show collections - To print a list of all collections for the current database.

Step 4: Now go to MongoDB compass and create a database by clicking on the create new database button.

Step 5: You can easily create collections and put data into it. You can always follow my video if u face any issues.

What’s the MongoDB Server?
-MongoDB offers both an Enterprise and Community version of its powerful distributed document database. The community version offers the flexible document model along with ad hoc queries, indexing, and real-time aggregation to provide powerful ways to access and analyze your data.

What’s the MongoDB Compass Server?
-The GUI for MongoDB. Visually explore your data. Run ad hoc queries in seconds. Interact with your data with full CRUD functionality. View and optimize your query performance. Available on Linux, Mac, or Windows. Compass empowers you to make smarter decisions about indexing, document validation.

The instructions in this video tutorial can be applied to laptops, desktops, computers, and tablets which run the Windows 10/11 operating system like Windows 10/11 Home, Windows 10/11 Professional, Windows 10/11 Enterprise, Windows 10/11 Education. This tutorial will work on all hardware manufacturers, like Dell, HP, Acer, Asus, Toshiba, Lenovo, and Samsung.

#MongoDB #HowToInstallMongoDB #NoSQL #database #OpenSourcedatabase #NoSQLTutorial

Topics addressed in this tutorial:
How To Download And Install MongoDB On Windows 10/11 64 bit OS
Install MongoDB on Windows 10/11
How to Install MongoDB and Get Started
How To Download And Install MongoDB Compass (GUI) On Windows 10/11 64 bit OS
Install MongoDB Compass (GUI) on Windows 10/11
How to Install MongoDB Compass (GUI) and Get Started

---------------------------------------------------------------------------
MY RELATED VIDEOS:

---------------------------------------------------------------------------
THANK YOU so much for watching!
Please make sure to LIKE and SHARE the video and SUBSCRIBE to the channel for more such videos :)

---------------------------------------------------------------------------
CONNECT WITH ME ON:
---------------------------------------------------------------------------
Рекомендации по теме
Комментарии
Автор

if installing version 6.0 or later, use mongod instead of mongo in the cmd, i.e. mongod --version

kreecha
Автор

It was really helpful - respect !!! (All "super programmers" think that soft installing process - so easy "for them"...) But, we - beginners, some times have really Big problems with this....

sergeypedko
Автор

Write 'mongod --version' to see the installation version in cmd. If you have 6 or later versions.

soumyadipmajumder
Автор

"C:\Program --version


type this in cmd who is getting error like mongodb is not recognized...

Note:- double quotes ("") are important and no space between them..

nileshpatwal
Автор

good video.... just the version error was covered by a comment in the comments sections of this video. Cause I downloaded the version (6.0.3)

📌NOTE : if installing version 6.0 or later, use mongod instead of mongo in the cmd, i.e. mongod --version

anushkanandkar
Автор

i am not able to find mongodb compass ..in verion6.02..what should i do

harshadakadam
Автор

i can not see the mongodb window, why is that? could please explain this.

chamalkasadamali
Автор

Did this tutorial help you to install MongoDB?
Comment Now!! and Let me know your opinion...
And Please SUBSCRIBE for more! Also, you can Support my work through YouTube Thanks!

GeekyScript
Автор

Hi sir
When tried typing mongo command it’s saying “‘mongo’ is not recognized as a internal or external command”
Can you help me with this?

vinushagarlapati
Автор

thanks brother your video helped me i tried many times but nothing happend again thanks.

osqionv
Автор

Thank you for the help! Finally got it working

brianduong
Автор

This video was very useful and thank you..

alicep.barclay
Автор

Could you please tell me how to install the zip package?
NOTE: Always try to create tutorials that haven't been created yet

samarscript
Автор

Sir I am not getting mongodb.exe in bin file
It's just showing only mongodb
I tried reinstalling 3 time but still same please help

clasherdamn
Автор

mongo --version is showing "'mongo' is not recognized as an internal or external command,
operable program or batch file."

vp
Автор

great teaching sir, keep up the good work!!

christofer-ko
Автор

in my case, I have installed version 6, and the command mongo --version is not being recognized by my system, while mongod --version is working fine. How may I know, what's the issues?

shivaniraichandani
Автор

thanks
i like you tutorial
always spirit

tisuehputieh
Автор

while installing mongodb i am getting error to compass like unknown option squirrelfirst run how to solve that

anandshirole
Автор

doesnt work!!! you still cant connect!