CouchDB and PHP Web Development Beginner’s Guide
上QQ阅读APP看书,第一时间看更新

Time for action — installing CouchDB

Now that we have Homebrew installed, we are finally ready to install CouchDB.

Note

Please note that before Homebrew installs CouchDB, it will install all of its dependencies, which include such things as: Erlang, Spidermonkey, ICU, and so on. This section might take up to 10-15 minutes to complete, because they are being compiled locally on your machine. Don't worry if it seems like it's taking too long; this is normal.

We are going to install CouchDB using Homebrew.

  1. Open Terminal
  2. Run the following command:
    brew install couchdb -v 
    
  3. Terminal will respond with a lot of text over the next couple of minutes. You will see it grab each dependency and then install it. At the very end, you will receive a success message.

What just happened?

We just installed CouchDB from the source and downloaded all of its dependencies. After installation, Homebrew put everything in the right folders and configured everything we need to use CouchDB.