安裝Mac下的包管理器homebrew
官網: 摸我
以上鏈接需要爬墻而入矛洞。检疫。
使用[lantern](https://github.com/getlantern/lantern)可以愉快訪問
步驟
- 打開終端輸入
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- 安裝成功孵户。魏身。头岔。五嫂。
- 安裝軟件
brew install xxx
- 卸載軟件
brew uninstall xxx
- 查找軟件
brew search xxx
- 列出安裝了的軟件
brew list
- 更新軟件
brew update
- 升級軟件
brew upgrade