Below are easy install instructions by OS and Architecture. As always there are always the standard instructions in the README.md as well.
darwin
386 - darwin
# Export the sha256sum for verification.
$ export NETSCAN_SHA256="5426785a6e5e60051794b704ecf8e0f610cb488ab3834a90cbbfbe659f7237ff"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/netscan/releases/download/v0.3.4/netscan-darwin-386" -o "/usr/local/bin/netscan" \
&& echo "${NETSCAN_SHA256} /usr/local/bin/netscan" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netscan"
$ echo "netscan installed!"
# Run it!
$ netscan -h
amd64 - darwin
# Export the sha256sum for verification.
$ export NETSCAN_SHA256="d12ef7f6de48c09e84143e90fe4a4e7b1b3d10cee5cd721f7fdf61e62e08e749"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/netscan/releases/download/v0.3.4/netscan-darwin-amd64" -o "/usr/local/bin/netscan" \
&& echo "${NETSCAN_SHA256} /usr/local/bin/netscan" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netscan"
$ echo "netscan installed!"
# Run it!
$ netscan -h
freebsd
386 - freebsd
# Export the sha256sum for verification.
$ export NETSCAN_SHA256="caca51836805ed213559c16a32a319e53f8c439f2f0b00bb79a2ed7b60af3a88"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/netscan/releases/download/v0.3.4/netscan-freebsd-386" -o "/usr/local/bin/netscan" \
&& echo "${NETSCAN_SHA256} /usr/local/bin/netscan" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netscan"
$ echo "netscan installed!"
# Run it!
$ netscan -h
amd64 - freebsd
# Export the sha256sum for verification.
$ export NETSCAN_SHA256="d7660496b636dbbfb9fdbea0b48c88e9f159c206cdf5a1cf5026df1b3cb56cc2"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/netscan/releases/download/v0.3.4/netscan-freebsd-amd64" -o "/usr/local/bin/netscan" \
&& echo "${NETSCAN_SHA256} /usr/local/bin/netscan" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netscan"
$ echo "netscan installed!"
# Run it!
$ netscan -h
linux
386 - linux
# Export the sha256sum for verification.
$ export NETSCAN_SHA256="a5562be0fea70bbd768ce3e9ef0a30ba63fce893410ec202574afd72a84f542f"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/netscan/releases/download/v0.3.4/netscan-linux-386" -o "/usr/local/bin/netscan" \
&& echo "${NETSCAN_SHA256} /usr/local/bin/netscan" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netscan"
$ echo "netscan installed!"
# Run it!
$ netscan -h
amd64 - linux
# Export the sha256sum for verification.
$ export NETSCAN_SHA256="101927671510f9208c5781dec8e4c12da0e22e391e3c232e46c3b852c4d1f232"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/netscan/releases/download/v0.3.4/netscan-linux-amd64" -o "/usr/local/bin/netscan" \
&& echo "${NETSCAN_SHA256} /usr/local/bin/netscan" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netscan"
$ echo "netscan installed!"
# Run it!
$ netscan -h
arm - linux
# Export the sha256sum for verification.
$ export NETSCAN_SHA256="3ba95bb5bba3ccd7de83f9a47b51705a3e0b4d3308966b7c7c0f16bb63715362"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/netscan/releases/download/v0.3.4/netscan-linux-arm" -o "/usr/local/bin/netscan" \
&& echo "${NETSCAN_SHA256} /usr/local/bin/netscan" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netscan"
$ echo "netscan installed!"
# Run it!
$ netscan -h
arm64 - linux
# Export the sha256sum for verification.
$ export NETSCAN_SHA256="206ac8febee43a8b6b2f6ec298d7129e45d0ed9a4ae008ae8f61708d9a577e0d"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/netscan/releases/download/v0.3.4/netscan-linux-arm64" -o "/usr/local/bin/netscan" \
&& echo "${NETSCAN_SHA256} /usr/local/bin/netscan" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netscan"
$ echo "netscan installed!"
# Run it!
$ netscan -h
solaris
amd64 - solaris
# Export the sha256sum for verification.
$ export NETSCAN_SHA256="68c038d9a35c104e820d0a4bb9f779be161602471c0b347d17a97cc50a5f81f0"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/netscan/releases/download/v0.3.4/netscan-solaris-amd64" -o "/usr/local/bin/netscan" \
&& echo "${NETSCAN_SHA256} /usr/local/bin/netscan" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netscan"
$ echo "netscan installed!"
# Run it!
$ netscan -h
windows
386 - windows
# Export the sha256sum for verification.
$ export NETSCAN_SHA256="0bf339ecd2cc95ef0340f4f39eaca5d967a10a153a59850ac19a06bbc049cc52"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/netscan/releases/download/v0.3.4/netscan-windows-386" -o "/usr/local/bin/netscan" \
&& echo "${NETSCAN_SHA256} /usr/local/bin/netscan" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netscan"
$ echo "netscan installed!"
# Run it!
$ netscan -h
amd64 - windows
# Export the sha256sum for verification.
$ export NETSCAN_SHA256="21ff6d79b883954427333ff544bb099513b119133480682cd3d88ce4ba8130ba"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/netscan/releases/download/v0.3.4/netscan-windows-amd64" -o "/usr/local/bin/netscan" \
&& echo "${NETSCAN_SHA256} /usr/local/bin/netscan" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netscan"
$ echo "netscan installed!"
# Run it!
$ netscan -h