Compile from source

Prefer a release binary unless you are patching Gor. Current build uses Go modules; ignore old GOPATH go get github.com/buger/gor wiki steps.

git clone https://github.com/buger/goreplay.git
cd goreplay
make

Linux needs libpcap (and often flex/bison to build it). macOS: Xcode CLT / brew libpcap. The Makefile also has Docker targets (make build, make test, make release-bin).

make test
make release-bin

Verify with gor --help (no --version flag). Then install the binary on PATH.

Back to the docs hub.