v0.0.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 1UP_SHA256="43421e6d110697b1267401caaa532cc44e35da52faf19123ddb4d4c16e3a18fc"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.2/1up-darwin-386" -o "/usr/local/bin/1up" \
&& echo "${1UP_SHA256} /usr/local/bin/1up" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/1up"
$ echo "1up installed!"
# Run it!
$ 1up -h
amd64 - darwin
# Export the sha256sum for verification.
$ export 1UP_SHA256="63979d80a0144e809b2464560c7d258b778f6035c1fcaaa99086304a8d06858a"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.2/1up-darwin-amd64" -o "/usr/local/bin/1up" \
&& echo "${1UP_SHA256} /usr/local/bin/1up" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/1up"
$ echo "1up installed!"
# Run it!
$ 1up -h
freebsd
386 - freebsd
# Export the sha256sum for verification.
$ export 1UP_SHA256="c10c65ae98bd6c1ed11a3553fcbe135cebb90aac15297b42d1d49b51f1ed71a7"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.2/1up-freebsd-386" -o "/usr/local/bin/1up" \
&& echo "${1UP_SHA256} /usr/local/bin/1up" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/1up"
$ echo "1up installed!"
# Run it!
$ 1up -h
amd64 - freebsd
# Export the sha256sum for verification.
$ export 1UP_SHA256="e3347539b8108d1141e47260fb2530d10c3c176af643881101f6358a243c48b3"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.2/1up-freebsd-amd64" -o "/usr/local/bin/1up" \
&& echo "${1UP_SHA256} /usr/local/bin/1up" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/1up"
$ echo "1up installed!"
# Run it!
$ 1up -h
linux
386 - linux
# Export the sha256sum for verification.
$ export 1UP_SHA256="d82759aa5903f68bd405b56a94aecfce63d4e7c60a56ed6b72287a9aa47a16f9"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.2/1up-linux-386" -o "/usr/local/bin/1up" \
&& echo "${1UP_SHA256} /usr/local/bin/1up" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/1up"
$ echo "1up installed!"
# Run it!
$ 1up -h
amd64 - linux
# Export the sha256sum for verification.
$ export 1UP_SHA256="529df48615515a9b4daa6cbf19c508f79118feb1fcd1dec8e5531e5570cbe10f"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.2/1up-linux-amd64" -o "/usr/local/bin/1up" \
&& echo "${1UP_SHA256} /usr/local/bin/1up" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/1up"
$ echo "1up installed!"
# Run it!
$ 1up -h
arm - linux
# Export the sha256sum for verification.
$ export 1UP_SHA256="d2f845093a4e83b4c46f9928a88b2dca666ba7ba8a123e844862c230afeeeb21"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.2/1up-linux-arm" -o "/usr/local/bin/1up" \
&& echo "${1UP_SHA256} /usr/local/bin/1up" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/1up"
$ echo "1up installed!"
# Run it!
$ 1up -h
arm64 - linux
# Export the sha256sum for verification.
$ export 1UP_SHA256="3080da939ba39621adced4a73f7d6909793c1f26f6a0a376ffb640701b4a60e9"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.2/1up-linux-arm64" -o "/usr/local/bin/1up" \
&& echo "${1UP_SHA256} /usr/local/bin/1up" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/1up"
$ echo "1up installed!"
# Run it!
$ 1up -h
solaris
amd64 - solaris
# Export the sha256sum for verification.
$ export 1UP_SHA256="c51714c6930d45dde5bab5d801beff486df76944fc64085ac9b0b07b206502f0"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.2/1up-solaris-amd64" -o "/usr/local/bin/1up" \
&& echo "${1UP_SHA256} /usr/local/bin/1up" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/1up"
$ echo "1up installed!"
# Run it!
$ 1up -h
windows
386 - windows
# Export the sha256sum for verification.
$ export 1UP_SHA256="116a82256cb2f35f454b7f71de75e629a1fb84f3156fcd27fa9c4418b0d99b80"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.2/1up-windows-386" -o "/usr/local/bin/1up" \
&& echo "${1UP_SHA256} /usr/local/bin/1up" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/1up"
$ echo "1up installed!"
# Run it!
$ 1up -h
amd64 - windows
# Export the sha256sum for verification.
$ export 1UP_SHA256="b40af062bde9bd1d22c32c035d1b67e40fbdf5babcc1727e286f8900cdb07d59"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.2/1up-windows-amd64" -o "/usr/local/bin/1up" \
&& echo "${1UP_SHA256} /usr/local/bin/1up" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/1up"
$ echo "1up installed!"
# Run it!
$ 1up -h