Mac homebrew notes

Original link:

This article will be kept updated. Because it is not a one-time tool. After encountering a homebrew problem, I recorded it here.

  1. view configuration

     brew config 

    image-20230522 AM114815453

  2. Update brew information

     brew update 

    image-20230522 PM00757587

    Encountered an error: `fetching failed`. . .

    The reason is that the clash port running on my computer has a problem with git being configured as a proxy for the sock5 port. To change to use http proxy port

     git config --global http. ''

This article is transferred from:
This site is only for collection, and the copyright belongs to the original author.