Installing Rosetta 2 on Mac Computers with Apple Silicon

By Andrew Merrick

Mac computers with Apple silicon use the Rosetta 2 translation environment to install and run Intel-based Auto Apps

Apple silicon processors are built on the arm64 Apple silicon CPU architecture, which differs greatly from the x86_64 Intel architecture. Software applications must be recompiled to run on the new architecture and can then be distributed as universal binary packages that include both the new Apple silicon version and the Intel version. Some software titles have not been updated to include an Apple silicon version in a universal binary package and include only the Intel version of the application.

Mac computers with Apple silicon are still capable of running software built for Intel processors using the Rosetta 2 translation environment. This translation technology is not pre-installed on computers with Apple silicon but can be installed by the user or with the softwareupdate command-line tool.

Automatic Rosetta 2 Installation for Auto Apps

When an Auto App requires Rosetta 2 to run on a Mac computer with Apple silicon, you will see the warning below on the library item. In this event, the Kandji Agent will automatically check for and install Rosetta 2 as needed. Please note that these banners may be removed without notice as developers shift to universal binaries.


Intel-based Custom Apps Require Rosetta 2

As of November 2020, when Apple first introduced computers with Apple silicon, many of the Auto Apps from Kandji were available only as Intel-based software applications. When a computer with Apple silicon detects an installer package for Intel-based software, it will send that package to the Rosetta 2 translation environment for processing. If Rosetta 2 is not already installed, then one of two things will happen. 

To prevent a failed installation, or a prompt for the end user when deploying a Custom App that requires Rosetta 2, the Rosetta 2 translation environment must be installed on the Mac via Kandji.  Below is a script that will allow the system to install the Rosetta 2 translation environment, if it is not already present, on a computer with Apple silicon. 

Install Rosetta 2 with Kandji

To install Intel-based Custom Apps on a computer with Apple silicon, the Kandji Blueprint for that computer will need to install Rosetta 2 first. This can be accomplished by adding a custom script to your Blueprint. You should name this script 00 Install Rosetta 2 for Apple Silicon to ensure that it runs first before any other items. You can follow the steps below to create this custom script in your Kandji tenant.

  1. Log in to Kandji.
  2. Go to your Library and click + Add New.
  3. Click Custom Script, then Add & Configure +.

  4. Set the script's name to 00 Install Rosetta 2 for Apple Silicon.
  5. Assign the item to the Blueprints as necessary.
  6. Set the execution frequency to Once per device.
  7. In the script details, paste in the script block that appears below.
  8. Click Save.

Rosetta 2 Installation Script

The Install Rosetta 2 script is maintained in the Kandji Support GitHub repo.