You can find your MongoDB version by following these steps:
1. Open a terminal or command prompt
1. Run the MongoDB command line client by typing “mongo” and hitting enter.
1. Once you’re in the MongoDB client, type “db.version()” and hit enter.
The version of your MongoDB should be displayed.
If MongoDB is not running or you’re not in the MongoDB client, you can just type “mongod —version” in a terminal or command prompt and it should display the version as well.