mac下安装brew的方法

    技术2023-10-09  94

    安装brew:

    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)

    由于国外的地址下载速度较慢,建议更换成国内的地址

    $ cd "$(brew --repo)" $ git remote set-url origin git://mirrors.ustc.edu.cn/brew.git $ cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" $ git remote set-url origin git://mirrors.ustc.edu.cn/homebrew-core.git

    以上就是mac下安装brew的方式,欢迎参考!

    Processed: 0.015, SQL: 9