Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Shell scripts for automated OSX machine setup.



Shell scripts for automated OSX machine setup.



  1. OSX
  2. OSX Software Updates
  3. Xcode (with accepted license agreement)
  4. Command Line Tools for Xcode
  5. Java SE Development Kit

OSX Yosemite Bootdisk

  1. Insert a USB drive (8GB or higher is best).
  2. Open Disk Utility and format the USB drive (leave the label as "Untitled").
  3. Download OSX Yosemite via the App Store but DO NOT INSTALL.
  4. Run this command to turn the USB drive into bootable image:

    sudo "/Applications/Install OS X" --volume /Volumes/Untitled --applicationpath "/Applications/Install OS X" --nointeraction
  5. Exit the OSX Yosemite install.
  6. Eject the USB drive.

OSX Yosemite Upgrade

  1. Insert the USB bootdisk into the machine to be upgraded.
  2. Reboot the machine.
  3. Hold down the OPTION key while the machine is rebooting.
  4. Select the USB bootdisk from the menu.
  5. Format the machine using Disk Utility.
  6. Install the new OS.

OSX Yosemite Reinstall

If you have already installed OSX but want to reinstall it, simply reboot the machine and hold down CONTROL+R. This will load the installer from the recovery partition and allow you to use Disk Utility, reinstall the system, etc.


Open a terminal window and execute one of the following setup sequences depending on your version preference:

Current Version (stable):

git clone git://
cd osx
git checkout v10.0.0

Master Version (unstable):

git clone git://
cd osx


Edit any of the *.sh files in the scripts folder to your liking and then open a terminal window to execute the following command:


Running the script will present the following options:

  b:  Apply basic system settings.
  h:  Install Homebrew software.
  a:  Install application software.
  x:  Install application extensions.
  d:  Apply software defaults.
  s:  Setup and configure installed software.
  i:  Install everything (i.e. executes all options, listed above, top to bottom).
  c:  Check status of managed software.
  C:  Caffeinate machine.
  ua: Uninstall application software.
  ux: Uninstall application extension.
  ra: Reinstall application software.
  rx: Reinstall application extension.
  w:  Clean work (temp) directory.
  q:  Quit/Exit.

Choose option 'i' to run all install tasks or select a specific option to run a single task. Each task is designed to be re-run if necessary. This can also be handy for performing upgrades, re-running a missing/failed install, etc.

The options prompt can be skipped by passing the desired option directly to the script. For example, executing "./ i" will execute the complete software install process.

It is recommended that the machine be rebooted after all install tasks have completed. Feel free to delete the osx project directory afterwards...or keep it around for future upgrades.


While the default settings for this project are opinionated and tailored for my specific setup, you can easily fork this project and customize the settings to your specific environment. Start by editing the files located in the settings project:

  • settings/ = Defines settings for machine name, applications, extensions, versions, paths, etc.

TIP: The installer determines which applications/extensions to install as defined by the script. Applications defined with the "APP_NAME" suffix and extensions defined with the "EXTENSION_PATH" suffix inform the installer what to care about. Removing/commenting out these applications/extensions within the file will cause the installer to skip these applications/extensions.

You can also modify the install scripts themselves by editing any of the following:

  • scripts/ = Applies basic system settings.
  • scripts/ = Installs Homebrew, command line, software.
  • scripts/ = Installs OSX, GUI-based, applications.
  • scripts/ = Installs application extensions.
  • scripts/ = Applies system and application defaults.
  • scripts/ = Configures and launches (if necessary) installed software.

All Bash functions, used by the scripts defined above, can be found in the lib folder of this project.

App Store Software

I also recommend installing the following software found via the App Store:

Miscellaneous Software

The following software is optional:

Post Install Checklist

The following is a checklist of additional steps worth completing after the scripts have been executed:

  • Configure Security & Privacy:
    • Require password immediately after sleep or screen saver begins.
    • Show a message when the screen is locked. Example: <twitter> | <email> | <phone> | <url>
    • Enable FileVault.
  • Configure iCloud:
    • Enable Find My Mac.
  • Configure Wi-Fi.
  • Configure printer.
  • Configure scanner.
  • Configure Internet Accounts.
  • Configure Contacts.
  • Configure Calendar.
  • Configure Google Chrome:
    • Open the Flags tab (i.e. chrome://flags)
      • Enable "Experimental Extension APIs".
      • Enable "Developer Tools Experiments".
      • Enable "Enable experimental Web Platform features".
    • Open Web Inspector Developer Tools (COMMAND+OPTION+I) and click the gear (lower right corner)
      • Click the Experiments tab.
        • Enable "FileSystem inspection".
        • Enable "Canvas inspection."
      • Click the General tab.
        • Enable "CSS Source maps".
          • Enable "Auto-reload generated CSS".
    • Open the Settings tab (i.e. chrome:://settings)
      • Passwords and Forms
        • Disable "Enable Autofill to fill out web forms in a single click".
        • Disable "Offer to save your web passwords".
  • Configure previously installed applications.



Read Semantic Versioning for details. Briefly, it means:

  • Patch (x.y.Z) - Incremented for small, backwards compatible bug fixes.
  • Minor (x.Y.z) - Incremented for new, backwards compatible public API enhancements and/or bug fixes.
  • Major (X.y.z) - Incremented for any backwards incompatible public API changes.

Code of Conduct

Please note that this project is released with a CODE OF CONDUCT. By participating in this project you agree to abide by its terms.


Read CONTRIBUTING for details.


Copyright (c) 2012 Alchemists. Read the LICENSE for details.


Read the CHANGELOG for details. Built with Gemsmith.


Developed by Brooke Kuhlmann at Alchemists.

Something went wrong with that request. Please try again.