Homebrew

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

     如果安装过程中一直卡在 clone homebrew-core,可以退出后执行以下语句,使用中科大镜像下载(如果 Taps 下没有homebrew文件夹,需要手动创建):

    cd /usr/local/Homebrew/Library/Taps/homebrew/
    git clone http://mirrors.ustc.edu.cn/homebrew-core.git/

     可以使用git remote -v查看当前源

  • 卸载 Homebrew 
    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
posted @ 2020-06-27 11:11  刘倩文  阅读(164)  评论(0编辑  收藏  举报