In macOS ventura I cannot duplicate my terminal app.
I want to do this as I have a M1 processor and I want to have one that opens using Rosetta2 and one that opens natively.
Any ideas how to get around this?
In macOS ventura I cannot duplicate my terminal app.
I want to do this as I have a M1 processor and I want to have one that opens using Rosetta2 and one that opens natively.
Any ideas how to get around this?
An alternative is a workaround posted here (to save you some time, I'm transcribing it here):
In your ~/.zshrc
file, add these two lines at the end:
alias arm="env /usr/bin/arch -arm64 /bin/zsh --login"
alias intel="env /usr/bin/arch -x86_64 /bin/zsh --login"
From now on, from any new terminal window, you can type in intel
or arm
whenever you want to switch between using Rosetta2 or not, respectively
I ran into the same issue, needing a Terminal in Intel/Rosetta-mode to work with Azure Functions.
A simple workaround is to install a Terminal alternative, e.g iTerm 2, and set either that or Terminal to run in Rosetta mode.
I found the following solution the most helpful (Source)
Reason for failing: Apple disabled in OS Ventura the option to duplicate Terminal.App and rename it.
% env /usr/bin/arch -arm64 /bin/zsh --login
% arch
arm64
% env /usr/bin/arch -x86_64 /bin/zsh --login
% arch
x86_64
Add the following to your .zshrc
file:
alias arm="env /usr/bin/arch -arm64 /bin/zsh --login"
alias intel="env /usr/bin/arch -x86_64 /bin/zsh --login"
Now, when in Terminal app, you can switch arch by using the aliases.