Search code examples
mongodb

bash: mongo: command not found


I installed mongodb on my system, but when I go to bin directory using Git and type mongo, this happens.

image

What shall I do?


Solution

  • if you're using git bash, use the following command

    $ ./mongo