博客说明git
文章所涉及的资料来自互联网整理和我的总结,意在于我的学习和经验汇总,若有什么地方侵权,请联系本人删除,谢谢!学习
由于我以前换过源,换成了是阿里的源,而后阿里的源没有cask,因此出错在这里url
换成中科大的源code
// 替换brew.git: cd "$(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git // 替换homebrew-core.git: cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git // 替换homebrew-cask.git: cd "$(brew --repo)"/Library/Taps/homebrew/homebrew-cask git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-cask.git
更新源blog
brew update
以后再次安装就解决了问题homebrew
感谢rem
百度百科博客
以及勤劳的本身it
关注公众号: 归子莫,获取更多的资料,还有更长的学习计划zsh