This article provides instructions on installing and configuring Homebrew, a package manager for macOS, using a domestic repository in China. It outlines the steps and commands required to add the domestic repository to Homebrew, allowing users to in
Use the following command to install homebrew with a domestic repository in China:
/bin/bash -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
**Yes, you can use a domestic repository to install homebrew packages.
To do so, you need to add the domestic repository to your homebrew configuration:**
nano ~/.zshrc
export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles
source ~/.zshrc
Yes, there is a way to set up homebrew to use a domestic repository.
To do so, you can use the following steps:
brew tap https://mirrors.tuna.tsinghua.edu.cn/homebrew/homebrew-core
brew update
The above is the detailed content of brew domestic source installation. For more information, please follow other related articles on the PHP Chinese website!