M1 Mac — How to switch the Terminal between x86_64 and arm64

switching efficiently between x86_64 and arm64 using created alias
$env /usr/bin/arch -<architecture> /bin/zsh --login
  • To see your current architecture, type:
$arch
see current architecture the Terminal is using
  • To switch to x86_64, type:
$env /usr/bin/arch -x86_64 /bin/zsh —-login

Creating alias in .zshrc:

adding alias to .zshrc

Bonus:

--

--

--

Automotive/I.T Security. Artist. Photographer. Germany/India

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

#JustStart Experience

The Case for User-Hostile Software

Android Cloud Development Part 1: Bluetooth Sample Setup &. Firebase Realtime Database

TOP CLOUD ENGINEERING COMPANY IN MENLO PARK

Things you should know before starting to code

Identification and analysis of our research repository file formats using DROID

Improving Wi-Fi digital experience by applying throttling in Distributed Architecture

How to do X in CSS- Radial Progress Chart

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Vineeth Bharadwaj P

Vineeth Bharadwaj P

Automotive/I.T Security. Artist. Photographer. Germany/India

More from Medium

IT Trends Come and Go

Doorbell Slack notifications

Slack notifications when door bell rings

What does the Computer Misuse Act mean? — Privacy Ninja

Solving DevOps on Apple M1 Architecture… Earthly