Skip to content
Claus edited this page Feb 8, 2014 · 28 revisions

Installing on Ubuntu or Debian

Users of Debian-based Linuxes testing and unstable can use the apt-get tool to install gitflow from the Debian repository:

$ apt-get install git-flow

For Debian stable, one can either use the git flow installer, or the Debian package from unstable (it works just fine on stable too).

Installing on Archlinux

Users of Archlinux can use packer as a tool to get AUR packages.

$ yaourt -S gitflow-git

Installing on Fedora

Users of Fedora can use yum as a tool to get RPM packages.

$ yum install gitflow

Ps.: Tested on Fedora 17, 18 and 19.

Installing on openSUSE

Users of openSUSE can use zypper as a tool to get the RPM packages.

$ zypper ar http://download.opensuse.org/repositories/devel:/tools:/scm/openSUSE_13.1/ devel:tools:scm
$ zypper in git-flow

For versions other than 13.1 the URL to the devel:tools:scm repository needs to be adjusted.

Other Linuxes

Under other Linuxes, the easiest way to install git-flow is using Rick Osborne's excellent git-flow installer, which can be run using the following command for system-wide installation:

$ wget --no-check-certificate -q -O - https://raw.github.com/nvie/gitflow/develop/contrib/gitflow-installer.sh | sudo bash

For user installation, for example in ~/bin,

$ curl -O https://raw.github.com/nvie/gitflow/develop/contrib/gitflow-installer.sh
$ chmod u+x gitflow-installer.sh
$ INSTALL_PREFIX=~/bin ./gitflow-installer.sh

And if the installation directory (here, ~/bin) is in the user's path, git will find the git-flow extensions.