![Trending Articles on Technical and Non Technical topics](/images/trending_categories.jpeg)
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
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.
Advertisements