1.安装brew
安装时候需要添加架构如:
arch -arm64 brew install carthage
平常安装都是brew install xxxxx
修改vim ~/.bash_profile
实现平常安装模式
1.用上面命令打开文件
2.添加以下转化
alias brew='arch -arm64 brew'
- ESC+ :wq!保存后,执行
source ~/.bash_profile
, 可以愉快的用brew install
安装时候需要添加架构如:
arch -arm64 brew install carthage
平常安装都是brew install xxxxx
修改vim ~/.bash_profile
实现平常安装模式
1.用上面命令打开文件
2.添加以下转化
alias brew='arch -arm64 brew'
source ~/.bash_profile
, 可以愉快的用brew install
本文标题:M1 mac book遇到的坑
本文链接:https://www.haomeiwen.com/subject/krppyltx.html
网友评论