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.

https://brew.sh

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):

https://docs.brew.sh/Installation

Subversion installation

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

Issues

Common installation issues can be found here:
https://docs.brew.sh/Common-Issues

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

Then:
brew upgrade

Uninstall

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