Mac - Installing Homebrew¶
To install Homebrew on a Mac:¶
-
Ensure you have administrative access on your computer.
-
From the terminal, run the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Run the following command to add Homebrew to your PATH and source the rc file:
if [[ "$SHELL" == *zsh ]]; then SDE_SHELL_PROFILE=$HOME/.zshrc; else export SDE_SHELL_PROFILE=$HOME/.bash_profile; fi echo 'eval "$(/opt/homebrew/bin/brew shellenv)" # Set PATH, MANPATH, etc., for Homebrew.' >> $SDE_SHELL_PROFILE eval "$(/opt/homebrew/bin/brew shellenv)"
Additional resources