Skip to content

Installation

git-brief is a single compiled binary written in Go.

If you have Go installed on your machine, you can install the latest version directly:

Terminal window
go install github.com/tukesh1/git-brief@latest

Make sure your Go bin directory is in your PATH. If your terminal says git-brief: command not found, add this to your ~/.bashrc or ~/.zshrc:

Terminal window
export PATH="$PATH:$(go env GOPATH)/bin"

If you want to build the binary yourself:

Terminal window
git clone https://github.com/tukesh1/git-brief.git
cd git-brief
make install

This compiles the binary and copies it to ~/.local/bin/git-brief.

Make sure ~/.local/bin is in your PATH:

Terminal window
export PATH="$PATH:$HOME/.local/bin"
Terminal window
git brief --version