Doing the dependency installation in a temporary directory prevents the pollution of the current working directory.