Mac安装homebrew
Homebrew官方主页:https://github.com/homebrew
1. 直接下载其中的 brew homebrew-core homebrew-cask homebrew-services
2. 将brew解压为 /usr/local/Homebrew
3. 将homebred-core、homebrew-cask和homebrew-services解压到/usr/local/Homebrew/Library/Taps/homebrew/目录下
4. 修改权限:
sudo chown -R 用户名:admin /usr/local/Homebrew
sudo chmod -R g+w /usr/local/Homebrew
5. 更新:
brew update
网友评论