Install longhornctl
# Choose your architecture (amd64 or arm64).
ARCH="amd64"
# Download the release binary.
curl -LO "https://github.com/longhorn/cli/releases/download/v1.7.2/longhornctl-linux-${ARCH}"
# Download the checksum for your architecture.
curl -LO "https://github.com/longhorn/cli/releases/download/v1.7.2/longhornctl-linux-${ARCH}.sha256"
# Verify the downloaded binary matches the checksum.
echo "$(cat longhornctl-linux-${ARCH}.sha256 | awk '{print $1}') longhornctl-linux-${ARCH}" | sha256sum --check
sudo install longhornctl-linux-${ARCH} /usr/local/bin/longhornctl
longhornctl version
See this document in the GitHub repository.
© 2019-2024 Longhorn Authors | Documentation Distributed under CC-BY-4.0
© 2024 The Linux Foundation. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.