Homebrew,Homebrew简称brew,是Mac OSX上的软件包管理工具,能在Mac中方便的安装软件或者卸载软件。
安装命令:
ruby -e "$(curl -fsSL )"
安装过程
entlingdeMacBook-Pro:openssl-1.0.2g centling$ ruby -e "$(curl -fsSL )"
==> 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 Press RETURN to continue or any other key to abort ==> /usr/bin/sudo /bin/mkdir /usr/local ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local ==> /usr/bin/sudo /usr/sbin/chown centling:admin /usr/local ==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew ==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew ==> /usr/bin/sudo /usr/sbin/chown centling /Library/Caches/Homebrew ==> Downloading and installing Homebrew... remote: Counting objects: 458, done. remote: Compressing objects: 100% (416/416), done. remote: Total 458 (delta 28), reused 277 (delta 17), pack-reused 0 Receiving objects: 100% (458/458), 701.87 KiB | 116.00 KiB/s, done. Resolving deltas: 100% (28/28), done. From * [new branch] master -> origin/master HEAD is now at 496fff6 doco: more updates for core/formula separation ==> Tapping homebrew/core Cloning into '/usr/local/Library/Taps/homebrew/homebrew-core'... remote: Counting objects: 3660, done. remote: Compressing objects: 100% (3545/3545), done. remote: Total 3660 (delta 17), reused 425 (delta 3), pack-reused 0 Receiving objects: 100% (3660/3660), 2.75 MiB | 375.00 KiB/s, done. Resolving deltas: 100% (17/17), done. Checking connectivity... done. Tapped 3535 formulae (3,686 files, 8.6M) ==> Installation successful! ==> Next steps Run `brew help` to get started
centlingdeMacBook-Pro:openssl-1.0.2g centling$