美文网首页
mac下安装homebrew工具

mac下安装homebrew工具

作者: 我是我自己的 | 来源:发表于2018-08-01 11:15 被阅读0次

1、使用如下命令安装homebrew

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

等待安装完毕,出现如下提示:

==> Installation successful!

==> Next steps

Run `brew help` to get started

2、使用如下命令修改.bash_profile

sudo vim .bash_profile

打开后,增加如下内容

export PATH=/usr/local/bin:$PATH

后保存。并使用sourch .bash_profile刷新下。

3、使用brew --verison查看安装的brew版本

相关文章

网友评论

      本文标题:mac下安装homebrew工具

      本文链接:https://www.haomeiwen.com/subject/fdmlvftx.html