Skip to content

windows 安装 ​

提前翻墙,提前安装 git

$proxy = "http://127.0.0.1:7897"

$env:HTTP_PROXY  = $proxy
$env:HTTPS_PROXY = $proxy

git config --global http.proxy $proxy
git config --global https.proxy $proxy

git config --global http.version HTTP/1.1

测试

sh
curl.exe -x $proxy -I https://github.com

irm -Proxy $proxy https://raw.githubusercontent.com/NousResearch/hermes-agent/main/README.md |
  Select-Object -First 5


git ls-remote https://github.com/NousResearch/hermes-agent.git HEAD

安装 ​

sh
iex (irm -Proxy $proxy https://hermes-agent.nousresearch.com/install.ps1)

方式2

Invoke-WebRequest -Uri "https://hermes-agent.nousresearch.com/install.ps1"  -OutFile install.ps1

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

Y

.\install.ps1