Automatically install the script, copy the following script to the terminal, paste it and press Enter
! ! ! Note: If brew has already been installed, reinstall carefully, because the original configuration file will be overwritten ~/.zshrc
, so remember to save your own configuration file
- Apple computer routine installation script (recommended to complete the installation in a few minutes):
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
- Apple Computer's extremely fast installation script (the simplified version is installed in a few seconds):
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" speed
- Mac uninstall script:
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh)"
Common errors go to the address below to view
https://gitee.com/cunkai/HomebrewCN/blob/master/error.md
- Linux computer installation script:
rm Homebrew.sh ; wget https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh ; bash Homebrew.sh
- Linux computer uninstall script:
rm HomebrewUninstall.sh ; wget https://gitee.com/cunkai/HomebrewCN/raw/master/HomebrewUninstall.sh ; bash HomebrewUninstall.sh
If you still have problems, you can check the documentation