'mongo' is not recognized as an internal or external command, operable program or batch file version 6 +
First, you have to check the version. Two cases will happen: either you have to set up the binary path with the environment variable or check which command is suitable for your version. If you use the mongo --version of this command and you got the below error " mongo' is not recognized as an internal or external command, operable program or batch file " immediately check your environment path whether you have set it up or not till the bin path for your MongoDB software. like the below screenshot. If your path has been set up accordingly then check other ways to find the version e.g mongod --version C:\>mongod --version db version v6.0.4 Build Info: { "version": "6.0.4", "gitVersion": "44ff59461c1353638a71e710f385a566bcd2f547", "modules": [], "allocator": "tcmalloc", "environment": { "distmod": "windows", ...