Mongo shell installation

Hi, perform the installation steps, add the path: C: \ Program Files \ MongoDB \ Server \ 4.2 \ bin in system environment variables, and apparently save it, but when I go to cmd:

mongo --nodb

I don’t get the right answer, I have windows 7. Someone could tell me what I am failing.
These are the captures


You have to update path under system variable
edit path variable and add mongodb path to it
Looks like you added new variables mongo & mongod as per your snapshots

Once you update path variable make sure it is correctly set by issuing path command at cmd prompt

1 Like

Thank you, edit it and replace the path “Path”

Closing this thread as the issue has been resolved.