Use brew on Apple M1 Pro
brew is a popular package manager for macOS that can be used to install many softwares. Its behavior on the MacBook Pro with the new M1 chip is however different from before. A simple brew install some-software
no longer works.
Solution
The trick is to add arch -x86_64
in front of the brew command, like this,
arch -x86_64 brew install some-software
That will fix the issue.
Reference
Like it? A donation or tip would go a long way.
BTC
14DYUJw7SYszhDtn3UHhRwV9WpmGWeFAve
ETH
0xCfB04B53C05488Ac0aC4F47C9550e8Ca1eaA476e
ICP
d80bd36baca1a0166e812c0f669ffaa222a7c6b6f2a8e3f5c690bafe251aaf4b