How To Install Homebrew On Macos
1
Open Terminal and install Homebrew
Open the Terminal app. Using Spotlight, hit cmd + space bar and search for Terminal.
Type the following:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"and press the return key.
2
Update Homebrew
To update Homebrew, run:
brew updateThe update command updates Homebrew itself and fetches the newest versions of all packages (but does not automatically update the packages).
3
Upgrade Homebrew
To upgrade local packages, run:
brew upgradeThe upgrade command is used to upgrade outdated (and unpinned) packages. By default, when you run brew upgrade Homebrew will first run an update, which fetches the latest versions of your installed packages. Then upgrade will actually perform the version upgrade.