macOS setup & configuration automation
CURRENTLY UNMAINTAINED!
- Disable SIP (optional but recommended)
- Create a configuration file (see: etc/default.cfg) (all modules are disabled per default)
- Open Terminal
- Run
./macosetup -c path/to/your/config-file
- Enable SIP (optional but recommended)
List of macOS releases
- 10.13 - High Sierra
- 10.14 - Mojave
- 10.15 - Catalina
- 11 - Big Sur (soon)
- < 10.13 - High Sierra
[C]
- Configuration[D]
- Module disabled[E]
- Error[I]
- Information[M]
- Module enabled[W]
- Warning[X]
- Module executed
Boot into macOS Recovery, or alternatively from Terminal:
sudo nvram "recovery-boot-mode=unused"
sudo reboot recovery
Open Terminal and run:
# Disable SIP
csrutil disable
# Enable SIP
csrutil enable
To prevent sudo from asking for your password after time, you could add this to your sudoers file.
%admin ALL=(ALL) NOPASSWD: ALL
The sudoers file is no longer handled by macosetup!
To avoid errors and permission problems, Terminal/iTerm needs Full Disk Access.