after adding path in enviroment variables why i am getting this error?

''mongo' is not recognized as an internal or external command, operable program or batch file.'

my path is: C:\Program Files\MongoDB\Server\6.0\bin

Upvotes: 0

Views: 55

Answers (1)

roxylius
roxylius

Reputation: 76

It will not work as there is no mongo.exe file in that specified path as MongoDB v6.0.0 doesn't ship with a MongoDB shell i.e. mongo that you're trying run in cmd

you can download the mongo shell[Mongosh] form here also here's the documentation on how to install it

or, just check this video it will explain to you how to install it

[edited]

also if you want you can see the web address and port when you run mongod command

screenshot

Upvotes: 0

Related Questions