I am not sure how many of you got your new shiny M1 based Mac today and wondered how to get your homebrew or other terminal apps that don't yet support ARM up and running well here is how to do it.
EDIT: There is also the command arch -x86_64
that can be used in the native terminal to run x86 code. For more info follow the link below 👇
1. Create a Copy of the Terminal App
- Create a duplicate of the terminal app in the Applications > Utilities folder.
- Control click or right click the application and click
Duplicate
- Rename the other version of the Application to something recognizable like Terminal x86
- Control click or right click the application and click
Rename
2. Set the Application to Run under Rosetta
- Right click the app and click
Get Info
- Select
Open using Rosetta
3. Run that Terminal!
And you can start hacking away!