标签:html home ota zha success pull ott down request
brew 全称Homebrew 是Mac OSX上的软件包管理工具,最近如要安装RabbitMq,但是官网强烈建议使用brew安装,所以便有了这篇简易随笔。
1.安装命令
ruby -e "$(curl --insecure -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2.卸载命令
输入密码后会开始下载homebrew,如果此时网速不稳定可能会出现错误提示:curl: (35) Server aborted the SSL handshake。
此时需要执行卸载操作,输入如下命令进行卸载:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
卸载完成后再次尝试安装。
3.安装完成后
通过brew命令就可以测试brew安装完成了
HEAD is now at e57da60 Merge pull request #3548 from sjackman/x11
==> Downloading https://homebrew.bintray.com/bottles-portable/portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring portable-ruby-2.3.3.leopard_64.bottle.1.tar.gz
==> Tapping homebrew/core
Cloning into ‘/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core‘...
remote: Counting objects: 4654, done.
remote: Compressing objects: 100% (4432/4432), done.
remote: Total 4654 (delta 36), reused 319 (delta 10), pack-reused 0
Receiving objects: 100% (4654/4654), 3.84 MiB | 56.00 KiB/s, done.
Resolving deltas: 100% (36/36), done.
Checking connectivity... done.
Tapped 4426 formulae (4,700 files, 12.0MB)
==> Cleaning up /Library/Caches/Homebrew...
==> Migrating /Library/Caches/Homebrew to /Users/zhangli/Library/Caches/Homebrew
==> Deleting /Library/Caches/Homebrew...
Already up-to-date.
==> Installation successful!
==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
https://docs.brew.sh/Analytics.html
==> Next steps:
- Run `brew help` to get started
- Further documentation:
https://docs.brew.sh
MochushiledeMBP:~ zhangli$ brew
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...]
https://docs.brew.sh/Formula-Cookbook.html
Further help:
man brew
brew help [COMMAND]
brew home
标签:html home ota zha success pull ott down request
原文地址:http://www.cnblogs.com/fengyan20150508/p/8011180.html