0
点赞
收藏
分享

微信扫一扫

macos 安装 brew

覃榜言 2023-05-30 阅读 75


brew install 慢的原因

cd ~/Documents
mkdir repository
cd repository

git clone --mirror https://github.com/Homebrew/brew.git
git clone --mirror https://github.com/Homebrew/homebrew-core.git
git clone --mirror https://github.com/Homebrew/homebrew-cask.git

cd /usr/local/Homebrew/
git remote set-url origin ~/Documents/repository/brew.git

cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core
git remote set-url origin ~/Documents/repository/homebrew-core.git

cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask
git remote set-url origin ~/Documents/repository/homebrew-cask.git

https://www.zhihu.com/question/35928898

/bin/zsh -c “$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)”

/usr/bin/ruby -e “$(curl -fsSL https://gitee.com/xueweihan/codes/vfrgh7z8qcjlx1ubwt6nk71/raw?blob_name=brew_install.sh)”


举报

相关推荐

0 条评论