Skip to content

v0.2.1

Choose a tag to compare

@jessfraz jessfraz released this 14 Jul 17:18
· 16 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="8bc200b2ae63252e4780f932ae5b40ac36e30652a2bca20e91bce7da477dd357"

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

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

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

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