macOS init
This set of scripts automate the installation of applications and synchronization of settings, on a freshly installed macOS.
Warning This script was designed for my own specific needs. Before using it, remember to modify it to suit your needs!
Presentation
Note I wrote a blog post, in French, about this tool: Automatiser l'installation des applications sur un nouveau Mac.
Usage
Initial installation of a pristine OS
- Install macOS
- Run Mac App Store and log in to your account
Warning Please note that if you are migrating from another machine or doing a complete reinstall, use the same username as much as possible, otherwise Mackup won't be able to recover application settings.
First step
- Download the latest version: main.zip
- Open the
run-first.sh
andBrewfile
files, and change what is installed by default - Change the
brew install synology-drive
andopen -a Synology Drive Client
lines inpost-install.sh
depending on the Cloud service you are using for settings synchronization - Starting from the line
# Configuration
in therun-first.sh
file, the script configures a number of default settings, which you can modify as required - Then open macOS terminal, drag and drop the
run-first.sh
file from the Finder to the Terminal, press the Enter key, and fasten your seatbelt… 😁
The script will largely work without your intervention, except :
- to validate the installation of Homebrew
- to enter the administrator password for Homebrew
- for the administrator password needed for Cask
- for certain software that requires admin access
If all goes well, it will finish normally without error, but if there is an error, you can restart the script and only what has not already been installed will be installed;
Second step
When the first script run is complete, and your data is synchronized from the cloud:
- Open the
post-sync.sh
file and modify the begining according to the Cloud service you have chosen, or comment it if you are using Dropbox (the default choice for Mackup) - Drag and drop the
post-sync.sh
file from the Finder to the Terminal, and press the Enter key to finish installation.
That's it, you're ready to start using your new computer.
Later updates
- Run the
update.sh
script to update any applications that require it.