Homebrew 笔记
Mac 安装 Homebrew
Homebrew 官网:http://brew.sh/index_zh-cn.html
可能有时候会装不上,多试几次,或者开全局代理。
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
如果出现报错提示: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
,请使用国内源进行安装
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
验证安装
brew -v
更新
brew update
卸载
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh)"