Comment on page
Installation
Setup instructions
Compiled versions for macOS, Linux and Windows are available on GitHub:

Releases · dreadl0ck/netcap
GitHub
NETCAP GitHub Releases Page
Installation via go get:
$ go get -u github.com/dreadl0ck/netcap/...
$ go build -ldflags "-s -w" -o /usr/local/bin/net -i github.com/dreadl0ck/netcap/cmd
In order to provide stable and reproducible builds, Go modules are used to pin the versions of source code dependencies to specific versions.
You can read about Go modules here:
To install the command-line tool:
$ go build -o /usr/local/bin/net -i github.com/dreadl0ck/netcap/cmd
To cross compile for other architectures, set the GOARCH and GOOS environment variables. For example to cross compile a binary for linux amd64:
$ GOARCH=amd64 GOOS=linux go build -o bin/net -i github.com/dreadl0ck/netcap/cmd
On macOS, you can install the netcap command-line tool with Homebrew:
$ brew tap dreadl0ck/formulas
$ brew install netcap

GitHub - dreadl0ck/zeus: An Electrifying Build System
GitHub
ZEUS Build System GitHub
To install the Netcap and Netlabel command-line tool and the library with zeus, run:
$ zeus install
Last modified 3yr ago