I would like to run MondoDB locally. I am unable to do so because upon running
mongod -config /usr/local/etc/mongod.conf
I get the error:
-bash: mongod: command not found
I saw in the answer to this question: Mongod: Command Not Found (OS X) that I need to add the name of the folder that contains the command to PATH.
I saw in the answer to this question: Shell - How to find directory of some command? that I can run "type -a mongod", "which mongod", among other solutions to find its location, but I do not get any output in my terminal upon running those commands.
Could you please let me know how I could find the location on the "mongod" command so that I can run it locally? Thank you.