Home > Database > MongoDB > body text

How do I know which MongoDB version is installed using the command line?

王林
Release: 2023-09-15 13:49:09
forward
797 people have browsed it

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

我如何知道使用命令行安装了哪个 MongoDB 版本?

Above, we entered the Run dialog box 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 -

我如何知道使用命令行安装了哪个 MongoDB 版本?

# Reach the BIN directory of MongoDB. Here's how to get to the BIN -

我如何知道使用命令行安装了哪个 MongoDB 版本?

#Use query mongo --version. The query screenshot is as follows -

我如何知道使用命令行安装了哪个 MongoDB 版本?

#It shows that our current MongoDB version is v4.0.5.

The above is the detailed content of How do I know which MongoDB version is installed using the command line?. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!