美文网首页
安装 Homebrew 报错

安装 Homebrew 报错

作者: Balopy | 来源:发表于2020-10-22 15:17 被阅读0次

    安装 Homebrew 报错

     fatal: cannot copy '/Library/Developer/CommandLineTools/usr/share/git-core/templates/hooks/fsmonitor-watchman.sample' to '/usr/local/Homebrew/.git/hooks/fsmonitor-watchman.sample': Permission denied
    Failed during: git init -q
    

    在终端输入

    sudo chown -R $USER /usr/local
    

    然后再次安装

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

    相关文章

      网友评论

          本文标题:安装 Homebrew 报错

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