v0.0.4
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="698e97269ded68e58ab29151947bc05dc10a987803eff418977d75bd33582ee1"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.4/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="78c73d5cd552ad593ac31be9207c06b58f17083018a01a5e15b2c7f4cab5b825"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.4/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="88fbb3b763a618923ba1c921f4dda146a65900d600665011915a4658a0b0afa3"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.4/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="1665b64078f32401ebde7f93612536e23eba6b4926321a2da9ee0594f2b39497"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.4/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="60934bb1eddf3fe6a51ac3d055a4d9e236c7d34dbf9d45fbedd747ba6cdccbd2"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.4/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="f314e8ffcc74ee65abd2d9555b5d60886b9470b8aa30e2c4d8f90267468d943b"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.4/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="342c92a11af9387bc427567f0d5bdb7fc8db6d21c2f37aa6ab9f4185f7e16eb0"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.4/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="dfa81275e1636ad29328bc88ca63cc2e8b1f6e8a1d5d6b3997a5a2fbf50f946a"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.4/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="6f85dc6e5720eedc82e83373cfa6283df9ec04a485388914bf88bee52567fdb9"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.4/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="98b091f57325b9349c835844bd256f642aace7a740a4da76a5afb519c2f88667"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.4/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="df10f046d6bbd08d6c385af64b8d631769023f11d2f8875e4d026119c309f8d5"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.4/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