この文書は自動機械翻訳技術を使用して翻訳されています。 正確な翻訳を提供するように努めておりますが、翻訳された内容の完全性、正確性、信頼性については一切保証いたしません。 相違がある場合は、元の英語版 英語 が優先され、正式なテキストとなります。

CLIをインストールします

プリビルドバイナリを使用します

  1. バイナリをダウンロードします:

    # Choose your architecture (amd64 or arm64).
    ARCH="amd64"
    
    # Download the release binary.
    curl -LO "https://github.com/longhorn/cli/releases/download/v1.11.2/longhornctl-linux-${ARCH}"
  2. バイナリを検証します:

    # Download the checksum for your architecture.
    curl -LO "https://github.com/longhorn/cli/releases/download/v1.11.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
  3. バイナリをインストールします:

    sudo install longhornctl-linux-${ARCH} /usr/local/bin/longhornctl
  4. インストールを確認してください:

    longhornctl version

ソースからビルドします

GitHubリポジトリ内の このドキュメントを参照してください。