mac m2 安装使用homebrew
时间: 2023-09-14 13:04:37 浏览: 207
要在Mac M2上安装并使用Homebrew,可以按照以下步骤进行操作:
1. 首先,打开终端。
2. 在终端中输入以下命令来安装Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
如果这个命令不能正常运行并报错,你可以尝试使用以下命令:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
这是一个脚本,同样可以安装Homebrew。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [macOS M2下使用Homebrew常用命令](https://blog.csdn.net/m0_58953903/article/details/128982555)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* *3* [【macOS】mac电脑M2芯片安装Homebrew 最简单的方法](https://blog.csdn.net/m0_55644132/article/details/129006590)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文