title: zsh: command not found: mongod, unable to use mongodb
body: <p>I have installed mongodb and was trying to run with macbook zsh:</p>
  <pre><code>mongod --config /usr/local/etc/mongod.conf
  </code></pre>
  <p>But I get this error:</p>
  <pre><code>zsh: command not found: mongod
  
  </code></pre>
  <p>I have tried these stack overflow answers and it didnt work.</p>
  <ol>
  <li>I followed the same tutorial, why do I receive this message, but others don't?</li>
  <li>What is the reason for this error?</li>
  <li>How can I fix it?</li>
  </ol>