DEV Community

Discussion on: [SOLVE] "MongoDB - command not found: mongo"

Collapse
 
andy profile image
Andy Zhao (he/him) • Edited

Pretty hard to debug this without seeing your full history of installation, but you might need to restart your terminal.

Were you following their tutorial?
docs.mongodb.com/manual/tutorial/i...

Also maybe try a new tab instead of a new window?

Collapse
 
brokylabs profile image
Catur Hidayat

Hai @andy Zhao, I follow the instructions from the link below.
medium.com/@peaonunes/how-to-insta...

After I restart the terminal, the command "mongod" or "mongo" becomes not working at all.