title: How to install CouchDB on Mac OS X? (Docs not helping)
body: <p>I tried installing CouchDB 1.6 via Homebrew per the instructions on the official CouchDB docs at docs.couchdb.org, but I am having no success.  First, I tried the native application and that worked but apparently that version does not support CORS.  It has been a frustrating experience, so any help will be greatly appreciated.</p>
  
  <p>Here is the error that I am getting when trying to ping CouchDB:</p>
  
  <pre><code>curl: (7) Failed to connect to 127.0.0.1 port 5984: Connection refused
  </code></pre>
  
  <p>I followed the installation guide here: <a href="http://docs.couchdb.org/en/1.6.1/install/mac.html" rel="nofollow">http://docs.couchdb.org/en/1.6.1/install/mac.html</a></p>
  
  <p>These were the terminal commands I used:</p>
  
  <pre><code>open /Applications/Installers/Xcode\ Tools/XcodeTools.mpkg
  --&gt; File not found (this step is listed as optional, so I moved on)
  
  brew update
  brew doctor
  
  brew install autoconf
  brew install autoconf-archive
  brew install automake
  brew install libtool
  brew install erlang
  brew install icu4c
  brew install spidermonkey
  brew install curl
  
  brew link icu4c
  --&gt; Requires --force option which can cause installations to fail
      (I did not do the --force option)
  brew link erlang
  brew install couchdb
  --&gt; To test CouchDB run: curl http://127.0.0.1:5984/
  
  curl http://127.0.0.1:5984/
  --&gt; curl: (7) Failed to connect to 127.0.0.1 port 5984: Connection refused
  </code></pre>
  
  <p>Mac Info:</p>
  
  <pre><code>MacBook Pro (Retina, 13-inch, Late 2013)
  OS X Yosemite
  Version 10.10.3
  </code></pre>