Homebrew 中科大源
Install Homebrew or Switch to USTC source
Add the following to your shell’s environment path.
For instance, if you use bash, append to the ~/.bashrc. If you use zsh, append to ~/.zshrc.
1 | |
Then run the homebrew install script. (If you have already installed and only needs to change the source, just skip the following line)
1 | |
After that, restart your terminal or execute the following to reload the environment.
1 | |
And then
1 | |
The first time brew update might take a bit long time since it needs to download all the package list data. Be patient. The speed will become fast once the initial brew update is complete.
Homebrew 中科大源
https://www.billhu.us/2022/15_brew_ustc/