I wonder if this block could be pulled out into a function too - it's basically identical to `install_github`