Homebrew安裝和使用

## homebrew使用
1. 安裝 git

```github

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

```
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`curl

相關文章
相關標籤/搜索