I am having problem in installing mongo db..can anyone please help me?

mongo db install query

Have you updated mongodb into your PATH?
Show us the output of echo $PATH
Can you run mongo --nodb command by giving full path of mongo.exe?

Hi @mrinal_srivastava,

Any update on this ?

If $PATH doesn’t work then try echo %PATH% and share the output with us.

~ Shubham

Thankyou soo much for. Your concern …its solved…now if I Type mongo --db i can see my version of my mongo db 4.2.7…

If i ever need any further assistance i will contact you people❤️

Hi i am having similiar problems.
i have updated my path and it gives the following error
“zsh: command not found: mongo”

Show us the output of echo $PATH
Can you run the command using full path of mongo.exe and see

same here with bash, I have installed 4.2.7
-bash: mongo: command not found

Hi, I found solution for this
just use => export PATH="$PATH:x"
x => path to bin like (/Users/avinash/mdb/mongodb-x86_64-enterprise-4.2.7/bin)

1 Like

Hi @Faith_Rambire,

Did you switch to the bash shell before setting up the path ?

Screenshot 2020-06-08 at 1.27.40 PM

Also, this :point_down:

~ Shubham

hi i ended up installing using brew

I’m glad your issue got resolved. Please feel free to get back to us if you have any other query.

~ Shubham

1 Like