v0.4.2
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 REG_SHA256="2c3e32a4ff77a5b86c631629e4a6fdecee9845748c2ce746fa10ee6b8e8a47ac"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/reg/releases/download/v0.4.2/reg-darwin-386" -o "/usr/local/bin/reg" \
&& echo "${REG_SHA256} /usr/local/bin/reg" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/reg"
$ echo "reg installed!"
# Run it!
$ reg -hamd64 - darwin
# Export the sha256sum for verification.
$ export REG_SHA256="286b1022daa06ddac900286f959cc7eae5d069009409803aaa81f6d953c794b9"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/reg/releases/download/v0.4.2/reg-darwin-amd64" -o "/usr/local/bin/reg" \
&& echo "${REG_SHA256} /usr/local/bin/reg" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/reg"
$ echo "reg installed!"
# Run it!
$ reg -hfreebsd
386 - freebsd
# Export the sha256sum for verification.
$ export REG_SHA256="38bea3198e4c9094356c5369730c0446bf66ec887d34189507077a6bcfc70fe9"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/reg/releases/download/v0.4.2/reg-freebsd-386" -o "/usr/local/bin/reg" \
&& echo "${REG_SHA256} /usr/local/bin/reg" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/reg"
$ echo "reg installed!"
# Run it!
$ reg -hamd64 - freebsd
# Export the sha256sum for verification.
$ export REG_SHA256="58c4eb7a4609d347bff64bcfb5d29abd5f657cce18785d7f375a803167531a0e"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/reg/releases/download/v0.4.2/reg-freebsd-amd64" -o "/usr/local/bin/reg" \
&& echo "${REG_SHA256} /usr/local/bin/reg" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/reg"
$ echo "reg installed!"
# Run it!
$ reg -hlinux
386 - linux
# Export the sha256sum for verification.
$ export REG_SHA256="b393f3833e782a5a53dc2209349228305c960cbcc01a7338e6aec240e8c69ee7"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/reg/releases/download/v0.4.2/reg-linux-386" -o "/usr/local/bin/reg" \
&& echo "${REG_SHA256} /usr/local/bin/reg" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/reg"
$ echo "reg installed!"
# Run it!
$ reg -hamd64 - linux
# Export the sha256sum for verification.
$ export REG_SHA256="ce85aebe9458f385585ecf0f6671a8f8dbc3d8fbbfd77e8e9f89e700faaad61d"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/reg/releases/download/v0.4.2/reg-linux-amd64" -o "/usr/local/bin/reg" \
&& echo "${REG_SHA256} /usr/local/bin/reg" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/reg"
$ echo "reg installed!"
# Run it!
$ reg -harm - linux
# Export the sha256sum for verification.
$ export REG_SHA256="cee5d7e04fad0307ee0da6ec957d1ce2f92a6f41e385f9a67d68a81151aadf93"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/reg/releases/download/v0.4.2/reg-linux-arm" -o "/usr/local/bin/reg" \
&& echo "${REG_SHA256} /usr/local/bin/reg" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/reg"
$ echo "reg installed!"
# Run it!
$ reg -harm64 - linux
# Export the sha256sum for verification.
$ export REG_SHA256="5fe9bd76eb8082504863af4aa14c6bd4e7c752bd0b4898872ab2d9aebed8b4b2"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/reg/releases/download/v0.4.2/reg-linux-arm64" -o "/usr/local/bin/reg" \
&& echo "${REG_SHA256} /usr/local/bin/reg" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/reg"
$ echo "reg installed!"
# Run it!
$ reg -hsolaris
amd64 - solaris
# Export the sha256sum for verification.
$ export REG_SHA256="89b1aa9e803d6bfe35244079fc914ca6ca3edc8eaa4961eb182ad154499e0434"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/reg/releases/download/v0.4.2/reg-solaris-amd64" -o "/usr/local/bin/reg" \
&& echo "${REG_SHA256} /usr/local/bin/reg" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/reg"
$ echo "reg installed!"
# Run it!
$ reg -hwindows
386 - windows
# Export the sha256sum for verification.
$ export REG_SHA256="064c4b2b528f51a8a1319024556cfd11239edee1c5dad7533640927cecd32174"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/reg/releases/download/v0.4.2/reg-windows-386" -o "/usr/local/bin/reg" \
&& echo "${REG_SHA256} /usr/local/bin/reg" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/reg"
$ echo "reg installed!"
# Run it!
$ reg -hamd64 - windows
# Export the sha256sum for verification.
$ export REG_SHA256="5561bac9a5b13e7e8c518cff3729abc0b05e857d8441114ee5508293fd01548b"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/reg/releases/download/v0.4.2/reg-windows-amd64" -o "/usr/local/bin/reg" \
&& echo "${REG_SHA256} /usr/local/bin/reg" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/reg"
$ echo "reg installed!"
# Run it!
$ reg -h