1.2. Installation on Windows
There are two ways to install CouchDB on Windows.
1.2.1. Installation from binaries
This is the simplest way to go.
- Get the latest Windows binaries from the CouchDB web site. Old releases are available at archive.
- Follow the installation wizard steps. Be sure to install CouchDB to a path with no spaces, such as
C:\CouchDB
. - Your installation is not complete. Be sure to complete the Setup steps for a single node or clustered installation.
- Open up Fauxton
- It’s time to Relax!
1.2.1.1. Silent Install
The Windows installer supports silent installs. Here are some sample commands, supporting the new features of the 3.0 installer.
Install CouchDB without a service, but with an admin user:password of admin:hunter2
:
msiexec /i apache-couchdb-3.0.0.msi /quiet ADMINUSER=admin ADMINPASSWORD=hunter2 /norestart
The same as above, but also install and launch CouchDB as a service:
msiexec /i apache-couchdb-3.0.0.msi /quiet INSTALLSERVICE=1 ADMINUSER=admin ADMINPASSWORD=hunter2 /norestart
Unattended uninstall of CouchDB to target directory D:CouchDB:
msiexec /x apache-couchdb-3.0.0.msi INSTALLSERVICE=1 APPLICATIONFOLDER="D:\CouchDB" ADMINUSER=admin ADMINPASSWORD=hunter2 /quiet /norestart
Unattended uninstall if the installer file is unavailable:
msiexec /x {4CD776E0-FADF-4831-AF56-E80E39F34CFC} /quiet /norestart
Add /l* log.txt
to any of the above to generate a useful logfile for debugging.