My solution for laptop configuration management, which includes:
- Install/upgrade of package managers; e.g., Homebrew, Cask, NPM
- Install/upgrade of apps and tools (not from App Store); e.g., Java
- Configure some OS X dotfiles; e.g., Git, aliases
- Especially the git user section in /dotfiles/.gitconfig, otherwise your commits will have my name and email address
- Set various OS X preferences and settings
All operations are designed to be idempotent, meaning that its safe to run the script repeatedly.
Many others exist, but I thought most were over-engineered and I wanted to learn more about this so I created my own. I use the term 'created' loosely, as I borrowed heavily from various others around the web.
This project was initially based on mac
script from thoughtbot laptop project
- See original for Zshell, Ruby, and more that I didn't need
-
Clone repo to your laptop
-
Review and edit as necessary to fit your needs
-
Run it:
$ ./Projects/setup/run.sh
Resources for defaults keys:
- Secrets: A database of hidden settings for Mac OS X