因为brew update实在是太慢了,所以我们先为它换一个源 更换Coding源: cd "$(brew --repo)" && git remote set-url origin https://git.coding.net/homebrew/homebrew.git cd $home && brew update