Skip to content

Manual installation

boiler23 edited this page May 12, 2012 · 3 revisions

Installing git-flow manually

If you prefer a manual installation, please use the following instructions:

$ git clone --recursive git://github.com/boiler23/gitflow.git

Then, you can install git-flow, using:

$ sudo make install

By default, git-flow will be installed in /usr/local. To change the prefix where git-flow will be installed, simply specify it explicitly, using:

$ sudo make prefix=/opt/local install

You can install it to your home directory (make sure $HOME/bin is in your $PATH):

    $ make install prefix=$HOME

Or simply point your PATH environment variable to your git-flow checkout directory.

Installation note:
git-flow depends on the availability of the command line utility getopt, which may not be available in your Unix/Linux environment. Please use your favorite package manager to install getopt. For Cygwin, install the util-linux package to get getopt. If you use apt-get as your install manager, the package name is opt.

To get JIRA integration work properly, you will need to install perl module JIRA::Client and it's dependencies.

In Windows environment, use ppm UI utility to do this. In Unix/Linux environment, use CPAN:

    $ perl -MCPAN -e shell
    $ install JIRA::Client

If you are using Ubuntu/Debian, alternatively you can do this by running command:

    $ sudo apt-get install libjira-client-perl
Clone this wiki locally