how to check if you have mongodb installed code example
Example 1: command to check mongodb version
mongod --version
Example 2: how to check if mongodb is installed
Open the command prompt and type "cd c:\program files\mongodb\server\your version\bin". After you enter the bin folder type "mongo start". If you get either a successful connection or failed one it means it's installed at least.