Skip to content

v0.2.0

Choose a tag to compare

@jessfraz jessfraz released this 02 Jan 15:41
· 22 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="b361bf937788c1db2cf51e75c34a2f5e9d3e9d174b8023a4979fd324e2c75c12"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/battery/releases/download/v0.2.0/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="f242a2dc7f016effba5066bed0b404edb7e3b778de69ccc640ee91c5c11d1287"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/battery/releases/download/v0.2.0/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="6677d877f0eafe1e82e359dcdceaf08b2e5a67afaeb053562a81b67d0ed1fcc6"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/battery/releases/download/v0.2.0/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="3912432905d2f5262782a86eb01529279aa62f855ca569aeafd2c9fc94e743b5"

# Download and check the sha256sum.
$ curl -fSL "https://github.com/jessfraz/battery/releases/download/v0.2.0/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