Install Apple Rosetta 2
Summary
This script will install Apple Rosetta 2 on a Mac with an Apple Silicon CPU.
Script Content
#!/bin/zsh
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
exit 0
Concluding Comments
When deploying Macs with Apple Silicon CPUs, this script is an essential tool for ensuring any applications written specifically for Intel x86_64 CPUs are able to run.