Install Homebrew
The official one-line installer from brew.sh.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"Runs a script from the internet with your permissions. This is Homebrew’s official installer.