- 0
- ybf
- 查看 8
1 先手动安装 Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
2 自动加入 brew 到环境变量
if [ -x /opt/homebrew/bin/brew ]; then
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
elif [ -x /usr/local/bin/brew ]; then
echo 'eval "$(/usr/local/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/usr/local/bin/brew shellenv)"
fi
3 打开火箭安装openclaw
curl -fsSL https://openclaw.ai/install.sh | bash
评论 0
没有权限




