check mongodb version – How to find the exact version of installed MongoDB?


check mongodb version Just run your console and type: db.version(). also you can Check MongoDB Version in Windows / Linux using mongod –version & mongo -version.

check mongodb version – 7 Ways to Check your MongoDB Version

The db.version() Method – simply command to check mongodb version. also Another method to get the mongo shell version is to run mongo –help from a console window or Command Prompt.

first of all open the console and execute this:


mongo –version

command to check mongodb version

Read Also:  SSL forcefully Redirect HTTP to HTTPS Using .htaccess File

mongod --version

MongoDB shell version: 2.6.10

how to check if mongodb is installed?

Open the command prompt and type

"cd c:\program files\mongodb\server\your version\bin". 

and then you enter the bin folder type “mongo start”. If you get either a successful connection or failed one it means it’s installed at least.

don’t miss : Install MongoDB On MacOS Step By Step

mongod –version

db version v2.6.10


MongoDB shell version: 2.6.10
connecting to: test

Using db.version() command



start Mongo Daemon.

sudo service mongod start

The mongo –help Command

mongo --help


I hope you get an idea about 7 Ways to Check your MongoDB Version.
I would like to have feedback on my
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Read Also:  MongoDB CRUD Tutorial With Example From Scratch

How useful was this post?

Click on a star to rate it!

Free Live Chat for Any Issue