Based upon excellent dotfiles repo by mathiasbynens. I'd suggest that you start with his and work from there as his community support is excellent and my changes are largely opinionated and hacky and only marginally tested beyond my own development machines.
Warning: If you're still interested in how I have things setup, or in my additions then proceed at your own risk!
These notes are culled from here to summarize just the steps I needed to perform.
- Insure that the dotfiles repository commited and up to date
- Export Keychains
- Tar up the .extra, .ssh/, Keychains, and any other files that your destroying
- Move the tarball to a USB or other secure location
Ready to Rock n Roll
- Restart while holding down the option key to boot from a USB fob that has the latest MacOS and start the install
- Get the machine on the internet (wifi or wired)
- Update MacOS from Apple
sudo softwareupdate -i -a
reboot
xcode-select --install
- Make additional default directories for my projects
mkdir -p ~/Projects
- Bootstrap the dotfiles
cd ~/Projects
git clone https://github.com/oddlots/dotfiles.git
ln -s ~/Projects/dotfiles ~/dotfiles && cd dotfiles && source bootstrap.sh
- Make sure
~/config/.path
adds/usr/local/bin
to the$PATH
by adding the following:
echo 'export PATH="/usr/local/bin:$PATH"' > ~/config/.path
-
Untar the .extra and .ssh into ~ and keychains into ~/Library/Keychains
-
Sensible macOS defaults:
./bin/macos-setup.sh
- Reboot for reassurance
- Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install Homebrew formulae and casks to install most of my software
./bin/brew-setup.sh
- Install extensions for VS Code
./bin/vscode-setup.sh
- Check these other Applications for which there aren't casks or they have failed in the past:
- Flex SDK
- Microsoft Remote Desktop
- iterm2 brew cask failed
TODO
@mathiasbynens and his dotfiles repository as well as his awesome community