Skip to content

Installing on BSD systems

ChrisjStone edited this page Jun 11, 2023 · 6 revisions

Installing on BSD systems

To install git-flow on BSD systems, like FreeBSD. OpenBSD or NetBSD, follow these instructions:

$ git clone https://github.com/CJ-Systems/gitflow-cjs.git

Then, you can install git-flow, using:

$ sudo gmake install

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

$ sudo make prefix=/opt/local install

This will install git-flow in /opt/local/bin

Post installation setup

Install GNU getopt

cd /usr/ports/misc/getopt/
sudo make install

This will install GNU getopt in /usr/local/bin