v0.0.1
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="6717726b8fa15534fff3bfca1f5d770d5844e7e74b0d342ad5e362696fa5ac31"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.1/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="563c67ebf4e1872982e49e19793f377c02372732135025b2c681fa1bd4d16d02"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.1/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="f937d2f810c549a06d67cf28c0249d7591fdf5aa1a2727185a18c42e66ac10ad"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.1/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="62401835dc5b52a54ec6b3381382b60e10486ef5b1b23119be37490204e30197"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.1/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="f79474d7c6140cafe11f9b4de079d33dd7750432a8992a766d4561edd1e705e9"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.1/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="83b02547d1dd85ad3a822584f083c76eff2449dd426131cf813eb470d45ce60b"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.1/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="621f313f7abb28edfd3b28b879ff90d0c2ee6e7ed847bb1e76a486de383de514"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.1/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="eba6428450febbdede4b39c49fdf5267629e2197aaecceaf7be5a8765fac95c3"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.1/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="79906cb30711df440a8eede314246424494d831bc9a12cf067d53b19c2b49917"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.1/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="3abd5d6d1e6729e18a499d4fe6f62e12ad82dc45f08382a92e2f78f90f0444ab"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.1/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="cf4b3ea2877805e308947dc2581ef5e1e5c03c6d3d0caba4ba21cfe3f203c6d2"
# Download and check the sha256sum.
$ curl -fSL "https://github.com/genuinetools/1up/releases/download/v0.0.1/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