Homebrew can’t link Git during the installation

后端 未结 2 1416
[愿得一人]
[愿得一人] 2020-12-19 13:32

I can’t seem to figure this out. Homebrew can’t link git during the installation. Here’s what Terminal spits out:

==> Downloading http://git-core.googleco         


        
2条回答
  •  抹茶落季
    2020-12-19 14:08

    The formula built, but is not symlinked into /usr/local

    Try overriding the links by:

    brew link --overwrite git
    

    Add --dry-run to see which files it affects.

    If this still fails, try fixing your Homebrew permissions:

    sudo chown -R $USER /usr/local/lib /usr/local/include /usr/local/bin /usr/local/Cellar
    

提交回复
热议问题