If on OSX, you will need to install the XCode CLI tools before continuing:
xcode-select --install
Then, clone the dotfiles repository to your home directory as ~/.dotfiles.
git clone https://github.com/olivierobert/dotfiles.git ~/.dotfiles
cd ~/.dotfiles
./install.sh
Based on the following amzing work: