brew, also know as homebrew, is one package manager for mac OS X.
Everything are on the official site : http://brew.sh/
- installation
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
xxx-M-R24U:~ xxx$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
**==>**** This script will install:**
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
**==>**** The following directories will be made group writable:**
/usr/local/.
/usr/local/bin
/usr/local/lib
/usr/local/sbin
**==>**** The following directories will have their owner set to ****junli**:
/usr/local/.
/usr/local/bin
/usr/local/lib
/usr/local/sbin
**==>**** The following directories will have their group set to ****admin**:
/usr/local/.
/usr/local/bin
/usr/local/lib
/usr/local/sbin
Press RETURN to continue or any other key to abort
**==>**** /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin /usr/local/lib /usr/local/sbin**
Password:
**==>**** /usr/bin/sudo /usr/sbin/chown junli /usr/local/. /usr/local/bin /usr/local/lib /usr/local/sbin**
**==>**** /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin /usr/local/lib /usr/local/sbin**
**==>**** /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew**
**==>**** /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew**
**==>**** /usr/bin/sudo /usr/sbin/chown junli /Library/Caches/Homebrew**
**==>**** Downloading and installing Homebrew...**
remote: Counting objects: 512, done.
remote: Compressing objects: 100% (455/455), done.
remote: Total 512 (delta 29), reused 330 (delta 27), pack-reused 0
Receiving objects: 100% (512/512), 782.55 KiB | 306.00 KiB/s, done.
Resolving deltas: 100% (29/29), done.
From https://github.com/Homebrew/brew
* [new branch] master -> origin/master
Checking out files: 100% (501/501), done.
HEAD is now at 842862c ENV/scm/git: only execute file (#493)
**==>**** Tapping homebrew/core**
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-core'...
remote: Counting objects: 3717, done.
remote: Compressing objects: 100% (3601/3601), done.
remote: Total 3717 (delta 14), reused 2105 (delta 6), pack-reused 0
Receiving objects: 100% (3717/3717), 2.89 MiB | 580.00 KiB/s, done.
Resolving deltas: 100% (14/14), done.
Checking connectivity... done.
Checking out files: 100% (3720/3720), done.
Tapped 3594 formulae (3,743 files, 9.0M)
**==>**** Installation successful!**
**==>**** Next steps**
Run `brew help` to get started
Further documentation: https://git.io/brew-docs
**==>**** Homebrew has enabled anonymous aggregate user behaviour analytics**
Read the analytics documentation (and how to opt-out) here:
https://git.io/brew-analytics
网友评论