mac brew安装git

2023-04-07  本文已影响0人  JackSpeed

1.安装homebrew

/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"

2.配置环境变量

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"

3.安装git

brew install git
上一篇 下一篇

猜你喜欢

热点阅读