Created
February 16, 2022 19:39
-
-
Save dnedrow/a2a06de0fed29a17cf2aecc5fd7d82bc to your computer and use it in GitHub Desktop.
Shell script to install both ARM and Intel versions of Homebrew on M1+ Mac
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/bash | |
| // This script can be used to install Homebrew both both MacOS | |
| // architectures when run on an M1+ Mac. | |
| //Install the ARM version | |
| arch -arm64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| // Install the Intel version | |
| arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment