Homebrew installation on ARM MacBook with macOS 11.0 #149
-
Apologies in advance for this noob question, but I can't figure out how to install homebrew on my device. I ran the following script:
I get the following error message: I want to rerun the installer under Rosetta 2, however, I can't figure out how to do that (how can I start my bash under Rosetta 2?). Would greatly appreciate any help! |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 10 replies
-
Someone made guide for that, but I am still could not start react project, getting memory error. https://github.com/mikelxc/Workarounds-for-ARM-mac |
Beta Was this translation helpful? Give feedback.
-
This post on Sam Soffes's blog has a nice walkthrough on installing Homebrew both natively on M1 and under Rosetta 2. (I have no personal experience. I'm researching how this would work before I buy.) tldr
Per the post:
|
Beta Was this translation helpful? Give feedback.
-
At the risk of sounding redundant, is there an official threat or issue out there for this that I can either subscribe to and/or help with? Would love to bypass all the general talk and get right to business on the actual technical needs to make this happen. Thanks! |
Beta Was this translation helpful? Give feedback.
-
As of now, if you install Rosetta2 on Big Sur, you can have it turn on in your terminal by default by going to the application folder, two-finger/right click your terminal program, and selecting "Get Info." In the middle of the info dialog there's checkboxes, one of which is "Open using Rosetta." Check that, restart your terminal, and the curl command at the start of this thread will work, and get you a brew. I successfully installed node and npm after that with brew, and they're working fine. |
Beta Was this translation helpful? Give feedback.
-
Hello guys, someone installed opencv C++ on mac m1? |
Beta Was this translation helpful? Give feedback.
This post on Sam Soffes's blog has a nice walkthrough on installing Homebrew both natively on M1 and under Rosetta 2. (I have no personal experience. I'm researching how this would work before I buy.)
tldr
arch -x86_64
to install and run Homebrew under Rosetta 2/opt/homebrew
and add it to your pathalias ibrew='arch -x86_64 /usr/local/bin/brew'
to runPer the post: