homebrew是mac平台下的套件管理器,通過homebrew,可以武裝我們的終端,讓它變的強大起來.
安裝方法:
在終端輸入:
回車後:
==> this script will install:
/usr/local/bin/brew
/usr/local/library/...
/usr/local/share/man/man1/brew.1
==> the following directories will be made group writable:
/usr/local/.
/usr/local/bin
==> the following directories will have their group set to
admin:
press return to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin
password:
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin
==> /usr/bin/sudo /bin/mkdir /library/caches/homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /library/caches/homebrew
==> downloading and installing homebrew...
remote: counting objects: 238997, done.
remote: compressing objects: 100% (109/109), done.
receiving objects: 88% (210318/238997), 31.53 mib | 185.00 kib/s
等下載下傳完成就可以了!!!!