how to check mongodb version in terminal code example Example: command to check mongodb version mongod --version