安装脚本加速
# 安装脚本不只是下载一个文件:运行时还会去 github.com clone 代码,
# 并从 astral.sh、nodejs.org 等境外地址下载 uv、Python、Node.js 和浏览器。
# 最稳的做法是给整个终端配上你自己的代理,再跑官方脚本:
export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
# 用不到浏览器自动化,可以跳过 Playwright 浏览器下载,少一段境外下载:
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash -s -- --skip-browser
# GitHub 加速镜像前缀只能帮你把脚本本身下载下来,
# 脚本后面 clone 代码时仍然要能访问 github.com:
curl -fsSL https://<github加速域名>/https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash