-
Notifications
You must be signed in to change notification settings - Fork 53
Installation
Ibrahim Serdar Acikgoz edited this page May 19, 2019
·
4 revisions
Download the latest binary from Release Page then; decompress the file and copy the executable somewhere in your $PATH
curl -OL https://github.com/isacikgoz/gitbatch/releases/download/v0.5.0/gitbatch_0.5.0_darwin_amd64.tar.gz
tar -xzf gitbatch_0.5.0_darwin_amd64.tar.gz
curl -OL https://github.com/isacikgoz/gitbatch/releases/download/v0.5.0/gitbatch_0.5.0_linux_amd64.tar.gz
tar xzf gitbatch_0.5.0_linux_amd64.tar.gz
sudo mv gitbatch /usr/local/bin
Source build requires golang compiler and minimum golang 1.12 is recommended.
- If you don't have golang installed refer to golang.org.
- You should have $GOPATH env variable set and your $PATH should include $GOPATH/bin to run app from anywhere.
To install run the following command;
go get -u github.com/isacikgoz/gitbatch
p.s. I prefer using gopath like this in my zshrc or bashrc;
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin