How to install git without sudo root grants

I already know that to install Git without sudo root grants it’s a bit weird, but a time ago I faced it trying to get Git working on a Bluehost’s shared hosting.

Install Git without sudo root grants

Execute the next lines on the shell: it will download Git, unzip it, compile it and setup.

wget -O 
cd git-* 
make configure ./configure --prefix=/home/USER && make && make install

Please note, replace USER with your username according to your hosting in the last line.

Leave a comment with your suggestions or doubts 🙂

David Burgos

Read more posts by this author.