Below are easy install instructions by OS and Architecture. As always there are always the standard instructions in the README.md as well.
linux
386 - linux
# Export the sha256sum for verification.
$ export NETNS_SHA256="9b2497c0c438c60c9843a7e35aea7205b602ca22da2ecb29ef5af91d401034a6"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/lancs-net/netns/releases/download/v0.6.1/netns-linux-386" -o "/usr/local/bin/netns" \
&& echo "${NETNS_SHA256} /usr/local/bin/netns" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netns"
$ echo "netns installed!"
# Run it!
$ netns -h
amd64 - linux
# Export the sha256sum for verification.
$ export NETNS_SHA256="e10e67d410700cd55a9f6e74fd32745de4d7434eb0ba4f07e95d4a9e91936fea"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/lancs-net/netns/releases/download/v0.6.1/netns-linux-amd64" -o "/usr/local/bin/netns" \
&& echo "${NETNS_SHA256} /usr/local/bin/netns" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netns"
$ echo "netns installed!"
# Run it!
$ netns -h
arm - linux
# Export the sha256sum for verification.
$ export NETNS_SHA256="763631ecd60db5049c4f83265da3f880c647956ee1b4f1036654d8dc0fbe56a1"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/lancs-net/netns/releases/download/v0.6.1/netns-linux-arm" -o "/usr/local/bin/netns" \
&& echo "${NETNS_SHA256} /usr/local/bin/netns" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netns"
$ echo "netns installed!"
# Run it!
$ netns -h
arm64 - linux
# Export the sha256sum for verification.
$ export NETNS_SHA256="768eab524ea3fa0339be9aae6bf911edd384f70d0fae0a0f1a68da5e653065e9"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/lancs-net/netns/releases/download/v0.6.1/netns-linux-arm64" -o "/usr/local/bin/netns" \
&& echo "${NETNS_SHA256} /usr/local/bin/netns" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/netns"
$ echo "netns installed!"
# Run it!
$ netns -h