美文网首页
Homebrew的安装

Homebrew的安装

作者: 騂跃神话 | 来源:发表于2016-11-14 14:40 被阅读22次

    参考:
    Mac OS下包管理器Homebrew的安装与使用,
    在OS X中使用Homebrew,
    Homebrew简介及安装,

    Homebrew, Mac系统的包管理器,用于安装NodeJS和一些其他必需的工具软件。

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

    译注:在Max OS X 10.11(El Capitan)版本中,homebrew在安装软件时可能会碰到/usr/local目录不可写的权限问题。可以使用下面的命令修复:

    sudo chown -R `whoami` /usr/local
    

    我在安装中遇到的问题


    Paste_Image.png

    当执行到绿线是会有停顿,时间较长,要耐心等待。还有有什么不懂得 注意箭头的文档。链接在下面的程序中。

    Already up-to-date.
    **==>**** 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
    

    第一次接触homebrew是在React Native搭建开发环境上面。

    相关文章

      网友评论

          本文标题:Homebrew的安装

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