Congrats: Your new Apple M1 Chip!

Everything works like before, thanks to Rosetta

Image courtesy of

Last updated: 29 Jan 2021

This is as much a note to self as it is a tip to all of you out there using the new Apple M1 chip.

This is also an encouragement to you to buy that new MacBook with the Apple M1 chip, if your current MacBook is also “vintaged” like my MacBook Air (2014) was in May 2020. (Thank you,, for informing me that my MacBook is not worth repairing!)

I got my new MacBook Air (2020) on 28 Jan 2021. I transferred my entire environment on the old MacBook Air to the new one via a Time Machine backup.

The migration was, as usual and to be expected, successful without any hiccups. (Yes, I’ll be buying MacBooks like the Apple slave that I am!)

iTerm2 must work first, for me!

I use Homebrew as the shell-based package manager. So I need to fire up my preferred shell first thing I do.

I use iTerm2 for one plain and simple reason: it allows me to use the Cmd key as a Meta key in bash. As you might know from my other post on Emacs keybindings on Macbook, I like Emacs keybindings. Coming from Linux that uses the Alt key right next to the Space key, I’m not used to over-reaching for the MacBook’s option key with my left thumb.

(TODO: Write an article on the whole Mac setup that allows Emacs keybindings all over. It’s quite a process, though not complex, to get iTerm2 set up to use option as the Meta key. I might not remember to write this article, since my MacBook environment migration was completely successful such that I don’t have to set up iTerm2 again. Please remind me if you need the guide for iTerm2 setup.)

So I tried firing up iTerm2.

Error: bad CPU type in executable

iTerm2 just mentioned it encountered an error, and didn’t completely fire up.

I tried, which did come up, but every program I tried to run (brew, git, python3, bash) threw up an error: bad CPU type in executable.

That makes sense, since these programs used to run on an Intel Core chip.

After searching Wikipedia for a bit, I found that I needed to get these programs to run via Rosetta 2, a translator that allows programs designed to run on Intel Core chips to also be able to run on Apple M1 chips.

Installing Rosetta 2

In, open the /Applications/ folder, find the program you want to use (eg. and right-click on the program file and click on “Get Info” to bring up the program file’s information window. You’ll see 3 checkboxes, the middle of which is what you should tick to bring Rosetta 2 into the picture.’s info window

After ticking that checkbox, run the program, and a prompt will appear to ask if you want to install Rosetta 2.

Image courtesy of

Click “Install”, and Rosetta 2 will be installed.

Rosetta 2 works automatically henceforth

Ticking that Rosetta checkbox only has to be done once, for any program.

Once Rosetta 2 is installed, it will always be invoked automatically for any program that needs it. As Wikipedia’s post on Rosetta 2 puts it:

Indeed, I found this to be true.

So far so good. I haven’t found a need to go back to Linux laptop yet.

Jon writes technology tutorials, fantasy (a dream), linguistics (phonology, etymologies, Chinese), gaming (in-depth playthrough-based game reviews).