brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: softwareupdate --install-rosetta installs Rosetta without opening an Intel app

Terminal
~/tips/tip-macos-softwareupdate-install-rosetta

softwareupdate --install-rosetta

Installs Rosetta for Intel apps from Terminal, ready for scripts on a new Mac.

On a Mac with Apple silicon, like my MacBook Pro M5 Pro, Rosetta is what lets Intel-only apps run. macOS offers to install it the first time you open such an app. On a fresh Mac, or in a setup script, I’d rather do it up front.

Apple’s own support article gives the Terminal route:

softwareupdate --install-rosetta

Press Return and follow what it asks on screen. For a script that should not stop and wait, add the flag the man page describes for exactly that:

softwareupdate --install-rosetta --agree-to-license

A nice example is a Brewfile or a new-Mac script: put this line before the app installs, and an older Intel tool won’t interrupt the run with a dialog.

Before you install it, it is worth checking whether you still need it. In Finder, Get Info on an app shows the Kind: Application (Intel) needs Rosetta, Universal and Apple silicon don’t. On macOS 27 Golden Gate there is also a list under System Settings, General, About, with a Details button next to Intel-based Apps.

The caveat is a big one this time. Apple’s support page says Rosetta is available for any Apple silicon Mac up to macOS 27, and that from macOS 28 it will only work for certain older, unmaintained games that rely on Intel frameworks. So installing Rosetta buys you time, not a future. My advice: look for a Universal or Apple silicon version of every Intel app you have now. And --agree-to-license means you accept a licence you did not read, which is fine for me in a setup script but still your call.

Further reading: Using Intel-based apps on a Mac with Apple silicon (Apple Support), softwareupdate man page (ss64)

More Terminal tips ioreg -rn AppleSmartBattery | grep CycleCount Terminal can save your windows and tabs as a window group Export a Terminal profile to a .terminal file and import it on another Mac mc hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}' All Terminal tips (116) All topics

Link