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 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:
2.3.2. Installation with Homebrew¶
The Homebrew build of CouchDB 2.x is still in development. Check back often for 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
220.127.116.11. 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.