zoukankan      html  css  js  c++  java
  • Mac 安装brew

    damiage:test damingwuage$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    It appears Homebrew is already installed. If your intent is to reinstall you
    should do the following before running this installer again:

        rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup

    提示已安装,那么运行以下这个命令

    daminge:test damingwuage$ rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup

    然后再运行damingwge:test damingwuage$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

    ==> 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/bin
    /usr/local/Library
    /usr/local/share
    /usr/local/share/man
    /usr/local/share/man/man1
    /usr/local/share/doc
    ==> The following directories will have their group set to admin:
    /usr/local/bin
    /usr/local/Library
    /usr/local/share
    /usr/local/share/man
    /usr/local/share/man/man1
    /usr/local/share/doc

    Press RETURN to continue or any other key to abort
    ==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/bin /usr/local/Library /usr/local/share /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/doc
    Password:
    ==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin /usr/local/Library /usr/local/share /usr/local/share/man /usr/local/share/man/man1 /usr/local/share/doc
    ==> Downloading and installing Homebrew...

    如今就显示正在安装brew

    安装完毕之后就能够输入运行下载软件


  • 相关阅读:
    mongodb删除指定字段
    nodejs地理坐标转换
    浅谈对腾讯云微信小程序解决方案服务端的理解(主要针对信道服务)
    利用Django进行微信支付接口的开发
    SpringBoot常用注解
    构建一个敏感词字典树
    Java异常统一处理
    [一天一个小知识]instanceof
    [总结]实现表格中对checkbox的操作
    小程序的数据绑定
  • 原文地址:https://www.cnblogs.com/jzssuanfa/p/7268327.html
Copyright © 2011-2022 走看看