Homebrew is the preferred package manager for macOS. Homebrew installation is pretty straight forward
Launch the iTerm terminal (Terminal emulator for macOS) on your macOS
– Navigate to the website https://brew.sh/
– And paste the command below in the terminal
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
This will continue the installation of Homebrew on your macOS
– This will at some point prompt for a password to allow the installation to continue.
Now, Homebrew package manager has been successfully installed on your device as shown above.
To see how to determine if Homebrew is installed on your device, see https://techdirectarchive.com/2020/03/20/how-to-check-if-homebrew-is-installed-on-mac-os/