Last active
December 24, 2021 03:21
-
-
Save dalinaum/85cd0806d0d23272bc42a44375d19fbf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
brew_root="/usr/local/m1-homebrew" | |
brew_bin="$brew_root/bin" | |
sudo mkdir $brew_root | |
sudo chown $(whoami) $brew_root | |
curl -L https://github.com/Homebrew/brew/tarball/master | tar xz -C $brew_root --strip 1 | |
echo "export PATH=$brew_bin:\$PATH" >> ~/.zshrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
/bin/sh -c "$(curl -fsSL https://gist.githubusercontent.com/dalinaum/85cd0806d0d23272bc42a44375d19fbf/raw/7a198d0b90b70031ff0892c028e47a8abcf82f73/m1-homebrew.sh)"