Pick the method that fits your platform
$ brew install binRick/tap/pal
$ brew tap binRick/tap $ brew install pal
$ brew upgrade pal
$ curl -fsSL https://github.com/binRick/pal/releases/latest/download/pal-linux-amd64 -o pal $ chmod +x pal && sudo mv pal /usr/local/bin/
$ curl -fsSL https://github.com/binRick/pal/releases/latest/download/pal-linux-arm64 -o pal $ chmod +x pal && sudo mv pal /usr/local/bin/
> Invoke-WebRequest -Uri https://github.com/binRick/pal/releases/latest/download/pal-windows-amd64.exe -OutFile pal.exe
# download the latest RPM $ curl -fsSL https://github.com/binRick/pal/releases/latest/download/pal-$(rpm -q --queryformat '%{VERSION}' rpm).x86_64.rpm -o pal.rpm # or browse releases and grab the .rpm directly $ sudo rpm -ivh pal-*.rpm # verify $ pal list | wc -l 420
go version.
Produces a native binary for your current platform.
$ git clone https://github.com/binRick/pal && cd pal $ go build -trimpath -ldflags="-s -w" -o pal . $ sudo mv pal /usr/local/bin/
$ ./build.sh && sudo mv pal /usr/local/bin/
See Building for full details on the Docker static build and cross-compilation.