Skip to content

Latest commit

 

History

History
85 lines (62 loc) · 2.64 KB

File metadata and controls

85 lines (62 loc) · 2.64 KB

Oddlots dotfiles

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.

Preparation (ie before you start)

  1. Insure that the dotfiles repository commited and up to date
  2. Export Keychains
  3. Tar up the .extra, .ssh/, Keychains, and any other files that your destroying
  4. Move the tarball to a USB or other secure location

Ready to Rock n Roll

Reformat & Install MacOS

  1. Restart while holding down the option key to boot from a USB fob that has the latest MacOS and start the install
  2. Get the machine on the internet (wifi or wired)
  3. Update MacOS from Apple
sudo softwareupdate -i -a
reboot
xcode-select --install
  1. Make additional default directories for my projects
mkdir -p ~/Projects
  1. Bootstrap the dotfiles
cd ~/Projects
git clone https://github.com/oddlots/dotfiles.git
ln -s ~/Projects/dotfiles ~/dotfiles && cd dotfiles && source bootstrap.sh
  1. Make sure ~/config/.path adds /usr/local/bin to the $PATH by adding the following:
echo 'export PATH="/usr/local/bin:$PATH"' > ~/config/.path
  1. Untar the .extra and .ssh into ~ and keychains into ~/Library/Keychains

  2. Sensible macOS defaults:

./bin/macos-setup.sh
  1. Reboot for reassurance

Install Applications

  1. Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  1. Install Homebrew formulae and casks to install most of my software
./bin/brew-setup.sh
  1. Install extensions for VS Code
./bin/vscode-setup.sh
  1. Check these other Applications for which there aren't casks or they have failed in the past:

Configure Environment

TODO

Thanks to…

@mathiasbynens and his dotfiles repository as well as his awesome community

just a useful reference

https://sourabhbajaj.com/mac-setup/