Mac的包管理工具homebrew。相当于linux的yum方便好用
常用命令
搜索:brew search SoftwareName
更新:brew install SoftwareName
卸载:brew remove SoftwareName
- 安装Homebrew
https://www.jianshu.com/p/86fbfca82cd6
注意是否处于根目录。
install homebrew.png - 报错 fatal: unable to access 'https://github.com/Homebrew/brew/': Failed to connect to github.com port 443: Operation timed out
pic2.png
解决方案:
git config --global --unset http.proxy
git config --global --unset https.proxy
参考:https://www.jianshu.com/p/fb3afccd32e1
git 设置和取消代理:https://blog.csdn.net/omgkill/article/details/81903279
-
报错 error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
pic3.png
说明pull的文件过大,需要增大缓存
执行以下操作:
git config --global http.postBuffer 524288000
git config --list查看是否生效
重新git clone 即可成功
Installation successful.png
网友评论