Original link:https://blog.kelu.org/tech/2023/05/21/mac-brew-remark.html
This article will be kept updated. Because it is not a one-time tool. After encountering a homebrew problem, I recorded it here.
-
view configuration
brew config
-
Update brew information
brew update
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.https://github.com.proxy 'http://127.0.0.1:7890'
This article is transferred from:https://blog.kelu.org/tech/2023/05/21/mac-brew-remark.html
This site is only for collection, and the copyright belongs to the original author.