I am following the tutorials at docs.mongodb.org, I have completed the first tutorial which was to install mongodb on a windows machine. I am now at the second stage which is ge
Seems like, The environmental variable is not correctly set up.
Go to the mongodb installation folder and get the executable files (mongo.exe, mongod.exe etc) location. (In my case) Something like :
C:\Program Files\MongoDB\Server\3.2\bin
Then go to :
Panel > System & Security > System > Advanced System Settings > Environment Variables
Find the PATH
variable and edit its value. Then add C:\Program Files\MongoDB\Server\3.2\bin
and don't forget to separate each values with ;
. Now confirm and exit.