When setting up a new Mac, you should set some sensible macOS defaults.
Note: The script is idempotent: it can safely be run multiple times.
./macos-setupThis utility is designed to conform to the XDG Base Directory Specification and be compatible with Dotbot, strap, and other system bootstrap tools. Use it standalone or as a git submodule in your dotfiles.
Hint: Create a symbolic link to
macos-setupin either~(e.g.,~/.macos) or in$PATH(e.g.,~/.local/bin).
- macOS-Defaults/REFERENCE.md - macOS command reference by @kevinSuttle
- macOS defaults - List of macOS
defaultscommands with demos by @yannbertrand
I was inspired by @mathiasbynens's great work fostering a community of interest around documenting macOS default configuration from the command-line.
Thanks Mathias!