v0.2.0-preview.4 · FIXED RELEASE

校验并安装

安装器只把固定版本的公开二进制写入 ~/.local/bin/agenet。它不会接收 Invitation、密码、私钥或模型密钥。

Developer Preview — physical acceptance pendingWindows 请使用启用 systemd 的 WSL2;native Windows 暂不支持。

固定安装步骤

整段复制到本机终端。脚本先下载 install.sh 与 SHA256SUMS,核验摘要后才执行安装器。

shell
set -eu
release='https://github.com/Nexa-Language/AgenNet/releases/download/v0.2.0-preview.4'
work=$(mktemp -d "${TMPDIR:-/tmp}/agenet-bootstrap.XXXXXX")
trap 'rm -rf -- "$work"' EXIT HUP INT TERM
curl --fail --silent --show-error --location --proto '=https' --proto-redir '=https' --max-redirs 5 --connect-timeout 10 --max-time 120 --output "$work/install.sh" "$release/install.sh"
curl --fail --silent --show-error --location --proto '=https' --proto-redir '=https' --max-redirs 5 --connect-timeout 10 --max-time 120 --output "$work/SHA256SUMS" "$release/SHA256SUMS"
expected=$(awk '$2 == "install.sh" { print $1 }' "$work/SHA256SUMS")
if command -v sha256sum >/dev/null 2>&1; then actual=$(sha256sum "$work/install.sh" | awk '{print $1}'); else actual=$(shasum -a 256 "$work/install.sh" | awk '{print $1}'); fi
test -n "$expected" && test "$actual" = "$expected"
sh "$work/install.sh"

公开检查

shell
agenet --version
agenet node doctor --output json

运行条件

  • macOS arm64/x86_64, Linux arm64/x86_64, or WSL2.
  • Tailscale 或 WireGuard 私有覆盖网络。
  • 秘密操作必须使用真实 controlling TTY。