These instructions are meant as an easy way to install. Note: you likely need to install coreutils
in order to have the sha256sum
command.
x86_64-apple-darwin
# Export the sha256sum for verification.
$ export ZOO_MACHINE_API_SHA256="204881c9d528a15af6f5f46b8577f67361fe604ed64d87e45c0de845fc03ebe5"
# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/machine-api/v0.1.1/machine-api-x86_64-apple-darwin" -o "/usr/local/bin/machine-api" \
&& echo "${ZOO_MACHINE_API_SHA256} /usr/local/bin/machine-api" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/machine-api"
$ echo "machine-api machine-api installed!"
# Run it!
$ machine-api -h
aarch64-apple-darwin
# Export the sha256sum for verification.
$ export ZOO_MACHINE_API_SHA256="985874d519fd7a7aeca229fde216cdd5eda99ab02e7706f7a2a629f023a61709"
# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/machine-api/v0.1.1/machine-api-aarch64-apple-darwin" -o "/usr/local/bin/machine-api" \
&& echo "${ZOO_MACHINE_API_SHA256} /usr/local/bin/machine-api" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/machine-api"
$ echo "machine-api machine-api installed!"
# Run it!
$ machine-api -h
x86_64-unknown-linux-musl
# Export the sha256sum for verification.
$ export ZOO_MACHINE_API_SHA256="1a3a64a8faf265e4e012376fa21e0411a558ee38c2fae9ea19521573faaa0829"
# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/machine-api/v0.1.1/machine-api-x86_64-unknown-linux-musl" -o "/usr/local/bin/machine-api" \
&& echo "${ZOO_MACHINE_API_SHA256} /usr/local/bin/machine-api" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/machine-api"
$ echo "machine-api machine-api installed!"
# Run it!
$ machine-api -h
aarch64-unknown-linux-musl
# Export the sha256sum for verification.
$ export ZOO_MACHINE_API_SHA256="1fb4ce6d542138f05272de77dd59562ee757cda489a5fea4c7e8a1c330dabeee"
# Download and check the sha256sum.
$ curl -fSL "https://dl.zoo.dev/releases/machine-api/v0.1.1/machine-api-aarch64-unknown-linux-musl" -o "/usr/local/bin/machine-api" \
&& echo "${ZOO_MACHINE_API_SHA256} /usr/local/bin/machine-api" | sha256sum -c - \
&& chmod a+x "/usr/local/bin/machine-api"
$ echo "machine-api machine-api installed!"
# Run it!
$ machine-api -h