安装:
Homebrew国内源
知乎文章地址:https://zhuanlan.zhihu.com/p/111014448
苹果电脑标准安装脚本:(推荐 优点全面 缺点慢一点)
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
苹果电脑极速安装脚本:(优点安装速度快 缺点update功能需要命令修复 )
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" speed
Linux 标准安装脚本:
rm Homebrew.sh ; wget https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh ; bash Homebrew.sh
苹果电脑卸载脚本:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh)"
Linux卸载脚本:
rm HomebrewUninstall.sh ; wget https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh ; bash HomebrewUninstall.sh
---Brew介绍

本文记录了在MacBook Pro M1上安装Homebrew的详细步骤,包括使用国内源解决连接问题,安装过程中遇到的git目录、safe.directory警告的解决方法,以及Homebrew常用命令的介绍。通过这篇教程,读者可以了解如何顺利安装并使用Homebrew。
1931

被折叠的 条评论
为什么被折叠?



