标签:already 更新 mac sea .sh ssl https ges info 输入
brew(homebrew),Mac OSX上的软件包管理工具,类似linux中yum,能在Mac中方便安装软件或者卸载软件,brew 的官方网站: http://brew.sh/ 在官方网站对brew的用法进行了详细的描述
安装方法: 在Mac中打开Termal: 输入命令:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
安装完成
brew install git
brew install openssl
查看帮助
brew --help
wangxishandeMacBook-Pro:~ oukisan$ brew --help Example usage: brew search [TEXT|/REGEX/] brew (info|home|options) [FORMULA...] brew install FORMULA... brew update brew upgrade [FORMULA...] brew uninstall FORMULA... brew list [FORMULA...] Troubleshooting: brew config brew doctor brew install -vd FORMULA Developers: brew create [URL [--no-fetch]] brew edit [FORMULA...] http://docs.brew.sh/Formula-Cookbook.html Further help: man brew brew help [COMMAND] brew home
使用brew查询软件
brew search [TEXT|/REGEX/]
例如:brew search /shadows*/
brew list 列出已安装的软件
brew update 更新brew
brew home 用浏览器打开brew的官方网站
brew info 显示软件信息
brew deps 显示包依赖
wangxishandeMacBook-Pro:~ oukisan$ brew update Already up-to-date. wangxishandeMacBook-Pro:~ oukisan$ brew info 5 kegs, 3,176 files, 46.7M
标签:already 更新 mac sea .sh ssl https ges info 输入
原文地址:http://www.cnblogs.com/wangxishan/p/6294337.html