Skip to content

v0.2.3

Latest

Choose a tag to compare

@jessfraz jessfraz released this 25 Sep 17:20
· 10 commits to master since this release

Below are easy install instructions by OS and Architecture. As always there are always the standard instructions in the README.md as well.

linux

386 - linux
# Export the sha256sum for verification.
$ export BATTERY_SHA256="95395674e13a48eba73f4d3820de331950d730e749cfa7a2b12cadd55067ea39"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/battery/releases/download/v0.2.3/battery-linux-386" -o "/usr/local/bin/battery" \
	&& echo "${BATTERY_SHA256}  /usr/local/bin/battery" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/battery"

$ echo "battery installed!"

# Run it!
$ battery -h
amd64 - linux
# Export the sha256sum for verification.
$ export BATTERY_SHA256="cfc63c727fecc976f9ebb8c2cbc9ea02d9791b9af12d2b11317f92c1bb8b167c"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/battery/releases/download/v0.2.3/battery-linux-amd64" -o "/usr/local/bin/battery" \
	&& echo "${BATTERY_SHA256}  /usr/local/bin/battery" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/battery"

$ echo "battery installed!"

# Run it!
$ battery -h
arm - linux
# Export the sha256sum for verification.
$ export BATTERY_SHA256="74762382b27fb449788044727be3c86241155ac29fb605c18d2a6fe4662626c9"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/battery/releases/download/v0.2.3/battery-linux-arm" -o "/usr/local/bin/battery" \
	&& echo "${BATTERY_SHA256}  /usr/local/bin/battery" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/battery"

$ echo "battery installed!"

# Run it!
$ battery -h
arm64 - linux
# Export the sha256sum for verification.
$ export BATTERY_SHA256="96fa026713a39173bb174d92827eaeb945d7479302cf2d7806bd0bfb9082536f"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/battery/releases/download/v0.2.3/battery-linux-arm64" -o "/usr/local/bin/battery" \
	&& echo "${BATTERY_SHA256}  /usr/local/bin/battery" | sha256sum -c - \
	&& chmod a+x "/usr/local/bin/battery"

$ echo "battery installed!"

# Run it!
$ battery -h