mongod
“.d:mongodb
.$MongoDB/bin
to Windows environment variable, so that you can access the MongoDB’s commands in command prompt easily.d:mongodbmongo.config
C:datadb
“, create this folder manually. MongoDB won’t create it for you. You can also specify an alternate data directory with --dbpath
option.mongod.exe --config d:mongodbmongo.config
to start MongoDB server.mongo.exe
to connect to the started MongoDB server.--install
.