You can install Doctrine CouchDB in several different ways:
The most convenient solution to install Doctrine CouchDB is PEAR:
shell> sudo pear channel-discover pear.doctrine-project.org shell> sudo pear install doctrine/CouchDBODM-alpha
You can download a copy that ships with all dependencies from the "Projects" -> "CouchDB" page of the www.doctrine-project.org website.
You can grab all released versions and the current development branch from Github:
shell> git clone https://github.com/doctrine/couchdb-odm.git couchdb_odm