Mac 安装Hermes Agent 过程记录

0 阅读1分钟

安装命令

curl -fSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash

问题1 TimeOut

image.png

解决方案: 科学上网

问题2 Auto-updating Homebrew...

image.png

解决方案:跳过更新

echo 'export HOMEBREW_NO_AUTO_UPDATE=1' >> ~/.zshrc
source ~/.zshrc

问题3 Git Clone Fail

image.png

解决方案:手动下载zip,然后解压到对应文件夹里面

问题4 Directory exists but is not a git repository: /Users/wangfei/.hermes/hermes-agent

image.png 解决方案:手动增加

git init
git remote add origin https://github.com/NousResearch/hermes-agent

重试后卡在这不动,然后报错

image.png

image.png

rm -rf ~/.hermes/hermes-agent

重试一遍,还是报错 image.png

分析:

curl -I https://github.com

image.png 卡住不动,说明代理不给力,有问题

解决方案:手动处理代理端口,查找端口

image.png

export ALL_PROXY=127.0.0.1:7892

重新测试

image.png

代理问题解决

重新尝试安装

image.png 大功告成~

配置一下

image.png