← Back to all TILs

Determine The Database Version

mongodb Written March 19, 2020

Whether your Mongo database is local or remote, you should connect to it using the mongo CLI.

Once connected, you can issue the following query:

db.version()

This will output the version of your Mongo database.

source

Other posts like this