title: MongoDB installed via Homebrew not working
body: <p>I installed MongoDB via Homebrew (following <a href="http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/" rel="noreferrer">http://docs.mongodb.org/manual/tutorial/install-mongodb-on-os-x/</a>) but it's not working.</p>
  
  <p>Typing <code>mongod</code> at shell prompt gives me:  </p>
  
  <pre><code>-bash: mongod: command not found
  </code></pre>
  
  <p>Not sure if I need to add something for Homebrew to my PATH env var?</p>
  
  <p>I can see Mongo is installed under <code>/usr/local/Cellar/mongodb</code> &ndash; but am assuming I don't need to add everything I install via homebrew to the path? Also, assuming I can run mongod from any directory or am I actually meant to be in install directory?</p>
  
  <p>When I run <code>brew doctor</code> I get: </p>
  
  <pre><code>Warning: You have unlinked kegs in your Cellar 
  </code></pre>
  
  <p>Followed by a list of 3 items which includes MongoDB &ndash; but I'm not sure how I'm meant to link them?</p>