mac
打開終端,輸入
1.ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
看到
Installation successful! 代表安裝成功
配置一下path
2.echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/haoxing/.zprofile
3.haoxing@haodeMBP ~ %
4 brew -v 展示版本號,驗證成功