link
if this version do not work then try version mongo DB version v4.0.3
link
In this video we will be install ing a popular nonsequal database mongodb in windows 11
instructions
1. head over to https://www.mongodb.com/try/download/community and download mongodb .msi or directly click on
https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-6.0.0-signed.msi
step 2
1.double click on it
2. click on choose complete setup then check box Install MonoD as service and also
click Run service as Network service user(just carefully look at data directory)
3.click next
4deslect install mongodb as compressor click on next and click on install
5.now go to this pc then c drive create a new folder here with name “data”(without quotation mrk)
open this folder and create new folder with name “db”(without quotation mark)
step 3 open file explore c drive then to progaram files then to mongo db then to server then to bin
and copy the path
step 4
now go to this pc right click click on properties
now click on advance system settings
click on environmernt variables
choosse path in above window and now double click on path in second window too
click on new and paste the path you have copied
chosse ok on all three windows
now open your cmd write mongod and press enter
if face any error let me know in comments