DEV Community


Discussion on: MongoDB - command not found: mongo

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?

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

catur_hida_yat profile image
Catur Meong Author

Hai @andy Zhao, I follow the instructions from the link below.

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