How do I know which MongoDB version is installed using the Command Line?

MongoDBDatabaseBig Data Analytics

First open the CMD and then reach the BIN directory of MongoDB. The screenshot to open CMD prompt is as follows.

Above we have reached the RUN dialog by pressing START and then typing RUN and ENTER.

Now, type CMD and press OK button to get the command line. The screenshot is as follows −

Reach the BIN directory of MongoDB. Following is how to reach the BIN −

Use the query mongo –version. The screenshot of the query is as follows −

Above displays that our current MongoDB version is v4.0.5.

raja
Published on 21-May-2019 08:51:30
Advertisements