Or just update a current one. These scripts should be idempotent.
Things that happen
- Install a bunch of software
- Set a bunch of settings
- Sync up some dotfiles
- Remind you about some manual setup steps
- Generate a new ssh key:
ssh-keygen -t rsa
- Copy it to your clipboard:
pbcopy < ~/.ssh/id_rsa.pub
- Add it here: github settings
- Clone the repo:
mkdir ~/workspace
git clone [email protected]:racurry/osx_setup.git ~/workspace
cd osx_setup
./macos_setup
There are some bits that require human intervention. If you want the system to just make all the decisions for you, run
./macos_setup --unattended
instead.
You can rerun the setup any time with macoscfg
.
Some of the settings in /bin/setup_macos
need SIP turned off to actually work. To make sure it all works,
- Restart your Mac, holding down Command-R until you see an Apple icon and a progress bar
- From the Utilities menu, select Terminal.
csrutil disable
- Restart
After running, re-run the steps using csrutil enable
Dump it into the relevant file in /data
.