Installation via Go

Your way to go if you already have Go installed (or plan to do so)

Written By Kurt Schambach

Last updated 7 months ago

Installation

To install gith via Go, just run:

go install github.com/a3chron/gith@latest

You should now be able to run gith:

gith

If you have an old version of Go, install a Go version manager like g, but you can use others too.

To install g, run:

curl -sSL https://git.io/g-install | sh -s 
# or 
wget -qO- https://git.io/g-install | sh -s

Make sure to accept installing the latest go version (you can manually install it later too)

You can configure multiple shells to add the environment variabls to if needed:

curl -sSL https://git.io/g-install | sh -s -- fish bash zsh

For more info see the g README

Now you should be able to install gith via the command at the beginning.

Updates

You can just run gith update to get the latest version.

For specific versions, run go install github.com/a3chron/gith@v0.8.3 with the correct version