Homebrew安装和使用

## homebrew使用
1. 安装

```

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)

```
2. 使用 `$ brew
Example usage:
brew [info | home | options ] [FORMULA...]
brew install FORMULA... // 安装包
brew uninstall FORMULA... // 卸载包
brew search [foo] // 搜索包
brew list [FORMULA...] // 显示已经安装的软件列表
brew update // 更新brew
brew upgrade [FORMULA...] // 更新包,不跟包名就是更新所有包
brew pin/unpin [FORMULA...]
Troubleshooting:
brew doctor
brew install -vd FORMULA
brew [--env | --config]
Brewing:
brew create [URL [--no-fetch]]
brew edit [FORMULA...]
open https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook
Further help:
man brew
brew home`

posted @ 2016-07-06 10:54  qqcc1388  阅读(281)  评论(0编辑  收藏  举报