installs dependencies in a namespaced dir