M1 Mac安装git
从官网下载
需要先安装homebrew
/bin/bash -c "$(curl -fsSL https://gitee.com/ineo6/homebrew-install/raw/master/install.sh)"
然后配置环境变量
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile eval "$(/opt/homebrew/bin/brew shellenv)"
安装git
brew install git
等就完事了,然后环境变量自动配好的
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/227409.html原文链接:https://javaforall.net
