Debian $ sudo $apt_pref update $ sudo $apt_pref install git-extras Mac $ brew install git-extras Clone / Tarball: $ make install One-liner: $ (cd /tmp && git clone --depth 1 https://github.com/tj/git-extras.git && cd git-extras && sudo make install)