1.3. Installation on macOS
1.3.1. Installation using the Apache CouchDB native application
The easiest way to run CouchDB on macOS is through the native macOS application. Just follow the below instructions:
Download Apache CouchDB for macOS. Old releases are available at archive.
Double click on the Zip file
Drag and drop the Apache CouchDB.app into Applications folder
That’s all, now CouchDB is installed on your Mac:
Run Apache CouchDB application
Open up Fauxton, the CouchDB admin interface
Verify the install by clicking on Verify, then Verify Installation.
Your installation is not complete. Be sure to complete the Setup steps for a single node or clustered installation.
Time to Relax!
1.3.2. Installation with Homebrew
CouchDB can be installed via Homebrew. Fetch the newest version of Homebrew and all formulae and install CouchDB with the following commands:
brew update
brew install couchdb
1.3.3. Installation from source
Installation on macOS is possible from source. Download the source tarball, extract it, and follow the instructions in the INSTALL.Unix.md
file.
1.3.3.1. Running as a Daemon
CouchDB itself no longer ships with any daemonization scripts.
The CouchDB team recommends runit to run CouchDB persistently and reliably. Configuration of runit is straightforward; if you have questions, reach out to the CouchDB user mailing list.
Naturally, you can configure launchd or other init daemons to launch CouchDB and keep it running using standard configuration files.
Consult your system documentation for more information.