Mac安装brew及报错处理办法
生活随笔
收集整理的這篇文章主要介紹了
Mac安装brew及报错处理办法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
brew又叫Homebrew,官網安裝方式
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"MacOS系統使用Homebrew官方地址時,報錯:
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443解決辦法:使用國內源
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"執行結果
中途按照提示輸入密碼
重啟終端 或者 運行
source /Users/mac/.zprofile否則無法使用
檢查安裝結果
brew -v返回結果
總結
以上是生活随笔為你收集整理的Mac安装brew及报错处理办法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【开小灶】如何网盘批量转存?
- 下一篇: json.stringify php,j