/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
安装完成后会有如下提示
Run these three commands in your terminal to add Homebrew to your PATH:
echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /Users/baolingbo/.zprofile
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/baolingbo/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
按照提示执行
然后执行brew -v
出现以下提示,表示按照成功
Homebrew 3.6.7
Homebrew/homebrew-core (git revision 39a7548b99d; last commit 2022-10-25)
博客介绍了在 macOS/Linux 系统上安装 Homebrew 的方法。通过执行特定命令完成安装,安装后按提示执行三条命令将 Homebrew 添加到 PATH,最后执行 brew -v 验证,出现版本信息则表示安装成功。

1603

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



