install_vcs: install from git or hg.