常用的命令

$ brew doctor # 体检一下
$ brew update # 更新一下,同步一下brew数据,保持最新.
$ brew upgrade # 升级所有已经安装的程序. 
$ brew upgrade watchman # 升级watchman这个程序
$ brew search redis # 查找所有名称含redis的Formula
$ brew info redis # 看看名称为redis的Formula的详细信息
$ brew install redis # 安装redis

Troubleshoots

  • 443 SSL connection issues for raw.githubusercontent.com or github.com, you can switch your VPN or SS to a good one (like in US) and export http_proxy=http://127.0.0.1:1087; export https_proxy=http://127.0.0.1:1087;. You can test it by curl raw.githubusercontent.com ....