- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How do I know which MongoDB version is installed using the Command Line?
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.
- Related Articles
- How do I know if Python has pandas installed?
- How do I drop a MongoDB database from the command line?
- How to find the version of Java using command line?
- How do I install selenium latest version?
- How do I know if a MySQL table is using myISAM or InnoDB Engine?
- How to know which storage engine is used in MongoDB?
- How to do Python math at command line?
- How to check the PowerShell version installed in local and remote systems?
- How can I to know if my database MongoDB is 64 bits?
- How to connect to my MongoDB table by command line?
- How to Find out Linux Version currently Installed on your Machine?
- How do we access command line arguments in Python?
- How do I check what version of Python is running my script?
- Drop all indexes from all the collections in a MongoDB database using the command line?
- How do we print a variable at the MongoDB command prompt?

Advertisements