Just extract (or git clone) Homebrew wherever you want. Alternative Installs Linux or Windows 10 Subsystem for LinuxĬheck out the Homebrew on Linux installation documentation. The default Git remote will be used if the corresponding environment variable is unset. 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
Command Line Tools (CLT) for Xcode: xcode-select -install,.A 64-bit Intel CPU or Apple Silicon CPU 1.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.