Install Rosetta 2 on ARM macOS

Rosetta 2 doesn’t install automatically on an ARM-based mac without X86-64 apps. If you try to run an Intel-only binary on an Apple Silicon chip, the default message will be :

bad CPU type in executable: {executable_path}

To install Rosetta 2, run :

softwareupdate --install-rosetta

Enable/Disable Default Gatekeeper Security in macOS

This change will add the “Anywhere” option for opening apps to the Security preference panel in macOS Sonoma and Sequoia, which is hidden by default otherwise.

sudo spctl --master-disable

You’ll see a confirmation reported back stating: “Globally disabling the assessment system needs to be confirmed in System Settings.”

To re-enable the default behaviour, use :

sudo spctl --master-enable