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="4c6d1e93eaa9e64f576aead8fcdb5ccdd1a96cf14d6212d0a21d025a7e9dbc17"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.3/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="6fe258a8cafe4cab5db89df8fac5e284d1a615ca65e1f0620eef9e06a6832c6e"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.3/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="e1d059f127097f0e7b4de16aeb0d48b13839128e63c693a1a0046404c7aa5b14"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.3/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="e671ceb825fccb718aa908dbff56c9eceff485df829620ddc9b6d0d22173d3e1"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.3/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="b7770db30d08fcd0eebe24e7da1148c88aaccf3883b38e5fbb8786d8858a8d6e"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.3/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="89cfcbb413fc4a115ed3ef16e304e560e783172a17c8549ee75203ff03fe6ea4"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.3/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="5c5ade794f9e5743a0a586634f5d8d360ca9f3e7054a556c1405347de9f777b6"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.3/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="0e8db1e8477771e8e3c190c4f2daff9d53efe589b1ed06e75b297df23a51dd21"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.3/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="0a2f45f2f6965e4cb16963238e1559dbe5dbc1a8c1cf96291deb20cda060bd51"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.3/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="1bfa9dfbd354b14e21ff8b0723255560f816283092be72a3baf5a4b3cb0e90ee"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.3/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="08fd8df1759270ca6cfcd78fadba96072df512b7bea79d5b23685353f9ca5c67"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.3/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