You can set HOMEBREW_BREW_GIT_REMOTE and/or HOMEBREW_CORE_GIT_REMOTE in your shell environment to use geolocalized Git mirrors to speed up Homebrew’s installation with this script and, after installation, brew update.Įxport HOMEBREW_BREW_GIT_REMOTE = '.' # put your Git mirror of Homebrew/brew here export HOMEBREW_CORE_GIT_REMOTE = '.' # put your Git mirror of Homebrew/homebrew-core here
You have to confirm everything it will do before it starts. It tells you exactly what it will do before Installed in the preferred prefix already. It is a careful script it can be run even if you have stuff
This script installs Homebrew to its preferred prefix ( /usr/localįor macOS Intel, /opt/homebrew for Apple Silicon and /home/linuxbrew/.linuxbrew for Linux) so thatīrew install. Instructions for a supported install of Homebrew are on the homepage.