最常用命令
搜索软件: brew search 软件包名称
安装软件: brew install 软件包名称
卸载软件: brew uninstall 软件包名称
错误解决
问题1 : curl: (7) Failed to connect to http://raw.githubusercontent.com port 443: Connection refused” 错误
解决方法:
打开 /Homebrew/homebrew-cask
清华大学镜像:
brew: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
core: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
cask: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-cask.git
中科大镜像:
brew: https://mirrors.ustc.edu.cn/brew.git
core: https://mirrors.ustc.edu.cn/homebrew-core.git
cask: https://mirrors.ustc.edu.cn/homebrew-cask.git
终于可以进行下载软件了
brew install -s 软件包名到此这篇关于Mac M1安装Homebrew的方法步骤的文章就介绍到这了,更多相关M1安装Homebrew内容请搜索以前的文章或继续浏览下面的相关文章希望大家以后多多支持!