Log in

HCMC Journal

Homebrew on macOS

: Pat Szpak

Normal installation procedure:

Before installing Homebrew install macOS command line tools with this command:

xcode-select --install

The best way to install Homebrew is to go the Homebrew’s homepage and copy the installation command into the terminal. It installs without sudo.


This command assumes you have an admin level account. If you do not, then you should use this alternative installation method (found under -Untar anywhere- heading):


Subversion installation

Now install svn by typing this command into the terminal:
brew install subversion


Common installation issues can be found here:

On macOS it usually involves reinstalling the command line tools after a major OS upgrade, so:
xcode-select --install

brew upgrade


Uninstalling homebrew will fix a FUBAR install:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"