It’s really easy to clean up a CouchDB instance as fresh as new. Just delete the database files and .delete folder in /usr/local/var/lib/couchdb and restart the CouchDB service.
$ sudo /etc/init.d/couchdb stop
$ cd /usr/local/var/lib/couchdb
$ sudo rm -rf * .delete
$ sudo /etc/init.d/couchdb start
$ cd /usr/local/var/lib/couchdb
$ sudo rm -rf * .delete
$ sudo /etc/init.d/couchdb start