2.3. Installation on macOS
2.3.1. Installation using the Apache CouchDB native application
The easiest way to run CouchDB on macOS is through the native macOSapplication. 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 theSetupsteps for a single node or clustered installation.
- Time to Relax!
2.3.2. Installation with Homebrew
The Homebrew build of CouchDB 2.x is still in development. Check back oftenfor updates.
2.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.
2.3.3.1. Running as a Daemon
CouchDB itself no longer ships with any daemonization scripts.
The CouchDB team recommends runit torun CouchDB persistently and reliably. Configuration of runit isstraightforward; if you have questions, reach out to the CouchDBuser mailing list.
Naturally, you can configure launchd or other init daemons to launch CouchDBand keep it running using standard configuration files.
Consult your system documentation for more information.