Created
December 12, 2020 18:42
-
-
Save jschaub30/4bd5264d36926dcec5712799b427dce4 to your computer and use it in GitHub Desktop.
Install homebrew in /opt/homebrew for apple M1 silicon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo chown -R "$USER" /opt/homebrew | |
cd /opt | |
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew | |
echo 'Add this to your shell:' | |
echo 'export PATH=/opt/homebrew/bin:$HOME/bin:$PATH' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment