Skip to content

Instantly share code, notes, and snippets.

@dalinaum
Last active December 24, 2021 03:21
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dalinaum/85cd0806d0d23272bc42a44375d19fbf to your computer and use it in GitHub Desktop.
Save dalinaum/85cd0806d0d23272bc42a44375d19fbf to your computer and use it in GitHub Desktop.
#!/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
@dalinaum
Copy link
Author

dalinaum commented Mar 13, 2021

/bin/sh -c "$(curl -fsSL https://gist.githubusercontent.com/dalinaum/85cd0806d0d23272bc42a44375d19fbf/raw/7a198d0b90b70031ff0892c028e47a8abcf82f73/m1-homebrew.sh)"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment