Homebrew 安装
Homebrew 使用教程
· 2019-01-22 23:34:30
环境要求
Intel CPU
OS X 10.9 or higher
Xcode命令行工具
$ xcode-select --install
- 支持shell (sh或者bash)
安装
直接执行以下命令:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
卸载
$ cd `brew --prefix`
$ rm -rf Cellar
$ brew prune
$ rm `git ls-files`
$ rm -r Library/Homebrew Library/Aliases Library/Formula Library/Contributions
$ rm -rf .git
$ rm -rf ~/Library/Caches/Homebrew
点击查看所有 Homebrew 使用教程 文章: https://www.codercto.com/courses/l/7.html