Installation process reference rookie installation process of the college: www.runoob.com/mongodb/mon…

But there are two caveats.

Exe –dbpath c:\data\db and then run the command

mongo

2 to exit, directly enter the command, exit is ok, baidu many posts are all kinds of pits, here are very complicated but are bullshit