I have mongoDB 3.2 installed locally for Windows 7. I would like to find out its specific version (like is it 3.2.1, or 3.2.3 or...). How could I find it? If I open the database shell (mongo.exe), I can see it outputs:
MongoDB shell version: 3.2.0
But that's just the shell version, and I'm not sure whether it's the same as my real database version.
Just run your console and type:
db.version()
https://docs.mongodb.com/manual/reference/method/db.version/
Start the console and execute this:
db.version()
Open a shell console and do:
$ mongod --version
It will show you something like
$ mongod --version
db version v3.0.2
To check MongoDB version use the mongod command with --version option.
To check the MongoDB Server version, Open the command line via your terminal program and execute the following command:
Path:
C:\Program Files\MongoDB\Server\3.2\bin
Open Cmd and
execute the following command:
mongod --version
To Check MongoDB Shell version:
mongo --version