Mac Homebrew 安装

1、Make sure you've installed Brew, with this (wait until its done installing) (Edit: added ending quote to the end)

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

2、Then follow NEXT STEPS shown on command line, it should show something like this

==> Next steps:
- Add Homebrew to your PATH in /Users/$USER/.zprofile:
    echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile
    eval $(/opt/homebrew/bin/brew shellenv)

3、Copy and paste the first line on the same terminal window, then hit enter

echo 'eval $(/opt/homebrew/bin/brew shellenv)' >> /Users/$USER/.zprofile

4、Then Copy and paste the last line on the same terminal window, then hit enter

eval $(/opt/homebrew/bin/brew shellenv)
posted @   花染梦  阅读(204)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· Manus的开源复刻OpenManus初探
· AI 智能体引爆开源社区「GitHub 热点速览」
· 从HTTP原因短语缺失研究HTTP/2和HTTP/3的设计差异
· 三行代码完成国际化适配,妙~啊~
历史上的今天:
2020-12-02 DiskLruCache 源码详解
点击右上角即可分享
微信分享提示