I wanted to do a fresh install on my new Apple Powerbook M2 so I created this script. You should fork and customize this script for your own needs.
This script can install apps via Homebrew and also the Mac App Store.
There is a corresponding article on the manual setup steps for many of the apps included in the command line install.
When using Homebrew you can use the following command to get a list of "Apps" that you can install:
brew casks
When using the MAS-cli you can use this command:
mas list
The following repos and articles are is what I referenced:
- YANMSS (Yet Another New Mac Setup Script) - (This is the repository I forked)
- MacOS setup
- How to Install Mac Apps in Terminal Using Homebrew