- 终端挂代理
- 使用brew官网命令安装
- 【苹果m1芯片安装brew】安装完成后在终端分别执行两条命令
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/dengdingyue/.zprofileeval "$(/opt/homebrew/bin/brew shellenv)"
> /Users/dengdingyue/.zprofileeval "$(/opt/homebrew/bin/brew shel。苹果m1芯片安装brew。" />
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/dengdingyue/.zprofileeval "$(/opt/homebrew/bin/brew shellenv)"