The Homebrew documentation page for installation states the following:
This script installs Homebrew to its preferred prefix (
/usr/local
for macOS Intel,/opt/homebrew
for Apple Silicon and/home/linuxbrew/.linuxbrew
for Linux) so that you don’t need sudo when youbrew install
. It is a careful script; it can be run even if you have stuff installed in the preferred prefix already. It tells you exactly what it will do before it does it too. You have to confirm everything it will do before it starts.
What is the reason (technical or otherwise) for Homebrew to choose /opt/homebrew
as the installation prefix instead of /usr/local
like it does in case of macOS running on Intel chips?