I am trying to test MongoDB and I have it all downloaded and moved into the root folder. I can navigate to the folder that holds the mongod, but when I try to run it by typi
I was trying to install a previous version (3.6) using latest documentation (4.2 is already released). So, they now call it mongodb-community@3.6.
In order to update PATH for such setup, the statement should be
export PATH="$PATH:/usr/local/opt/mongodb-community@3.6/bin";
I got hint from @retroGiant 's answer