What is the best/safest way to reinstall Homebrew?

前端 未结 6 1642
一向
一向 2020-12-02 06:21

I am getting issues with permissions in Homebrew: After I installed Node and tried to install npm using the curl command Homebrew tells you to use, it would fail due to EACC

6条回答
  •  醉话见心
    2020-12-02 06:34

    Try running the command brew doctor and let us know what sort of output you get


    edit: And to answer the title question, this is from their FAQ :

    Homebrew doesn’t write files outside its prefix. So generally you can just rm -rf the folder you installed it in.

    So following that up with a clean re-install (following their latest recommended steps) should be your best bet.

提交回复
热议问题