Homebrew安装

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Homebrew安装相关的知识,希望对你有一定的参考价值。

Homebrew,Homebrew简称brew,是Mac OSX上的软件包管理工具,能在Mac中方便的安装软件或者卸载软件。

安装命令:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

安装过程

entlingdeMacBook-Pro:openssl-1.0.2g centling$ ruby -e "$(curl -fsSLhttps://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

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 https://github.com/Homebrew/brew
 * [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$

以上是关于Homebrew安装的主要内容,如果未能解决你的问题,请参考以下文章

mac怎么安装homebrew

macOS安装Homebrew

安装Homebrew

mac homebrew安装

mac下更换镜像安装Homebrew教程

打开homebrew不能求助