![mac homebrew update mac homebrew update](http://www.ohbeautifulbeer.com/wp-content/uploads/2012/02/six_gold.png)
I can now build my websites with Hugo running on Go natively. I found that the majority of my previously installed tools have ARM64 versions, including some, like the Go language, which did not when I last checked, a few weeks ago.
MAC HOMEBREW UPDATE INSTALL
I had side-by-side terminal tabs, one for brew … and the other for /usr/local/bin/brew … as I worked through my installed tools to check they install natively in the first tab and, if so, uninstalling the non-native version from the second tab. I didn’t do this at this point, but were I to do all this again, I would add a further alias: alias oldbrew=/usr/local/bin/brew just to make accessing the old install a little more convenient. But do read on for a solution that works with multiple Macs of different CPU architectures. For example, alias nano=/opt/homebrew/bin/nano instead of alias nano=/usr/local/bin and export PATH="/opt/homebrew/bin:$PATH" in place of export PATH="/usr/local/bin:$PATH". zshrc file to update any PATH additions or aliases to the new Homebrew installation. Tools that lack ARM64 versions can stay in the emulated world - just move on to the next one.Įdit your. If you’ve been using Homebrew under emulation, you now have two side-by-side installs, so from this point on it’s a matter of working tool by tool, installing an ARM64 versions then removing the x86-64 version. On an M1 Mac it will create a new installation under /opt/homebrew (on Intel it’s under /usr/local/bin). Here’s what I did.įirst, re-run the Homebrew installer. I’ve been using a mix of native Terminal (for tool usage) and Terminal under Rosetta 2 (for tool installation and upgrades), so anything that saves me from maintaining two Termini or temporarily switching the Open using Rosetta option in the utility’s Get Info panel (and usually forgetting to switch it back afterwards) is a bonus. Apple Silicon Mac, now with native Homebrew support