Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
System setup stuff for a new mac

New computer setup

a/o 2019-03-18


Format the drive

  1. Restart with Cmd-R or Cmd-D
  2. Erase drive / 3x if second-hand
  3. Reinstall MacOS


First boot

  1. Change system password.
  2. Edit System Prefs
  Security & Privacy
      disable Location services
      allow apps
      enable Filevault (or later, after 1Password) // Or not, if a hybrid drive!
      disable screen saver
      background: 17% grey
      turn off command keys
      disable almost everything
      set DNS to [OpenDNS](
      or set DNS to [Cloudflare](


Get online

  • Safari: download Dropbox
  • Dropbox: selective sync: just /Writing + /1Password
  • Safari: download 1Password
  • Safari: download Quicksilver
  • Quicksilver: download Quicksilver plugins, especially Extra Scripts
  • Safari: download Chrome
  • Download iTerm 2


Install OS X CLI Tools

and/or install Xcode if you want, from the App Store

xcode-select --install Or download from Apple dev center


cf. Gist

sh -c "$(curl -fsSL"

Install Homebrew

  • see the file attached to this gist*

/usr/bin/ruby -e "$(curl -fsSL"

2019-03-18 I don't know if this is still good to do:

sudo chown $USER /usr/local && brew doctor && brew update

Run system stuff in gist below:

Setup writer folder and nvAlt

  • Dropbox selective sync: Writer folder (That's where I keep my Notes)
  • Download nvAlt
  • set nvAlt to use Writer folder

Download apps from App Store

Download apps from the Web (or brew cask install)

Firefox, Safari, Chrome


setup Google and Fastmail accounts in BusyCal


setup Fastmail account in Postbox (or don't)


Keybase and GPG

Configure .ssh


Download specific legacy software from Dropbox

  • Automator Dispense - Install%20Automator%20Action.pkg
  • BBEdit - BBEdit_10.1.2.dmg
  • CSS Edit - CSSEdit2.6.1.dmg
  • iTunes 11.4

Download ievms 2019-03-18

curl -s | bash

Downgrade iTunes 2019-03-18

Downgrade to lowest iTunes that works (11.4) using Pacifist to install.

AppZap built in apps (if you can)

Chess, GarageBand, Maps, iBooks, Game Center, iTunes

brew doctor && brew update && brew install ssh-copy-id wget legit node z coreutils cask keybase php && brew prune 

brew prune breaks mysql by deleting an empty /usr/local/etc/my.cnf.d so:

touch /usr/local/etc/my.cnf.d/.gitkeep
brew cask install python3 &&
brew cask install quicksilver &&
pip install powerline-status &&
brew install --with-qt5 mkvtoolnix &&
brew install caskroom/cask/brew-cask keybase-installer

Some other things:

  • mysql@5.7
  • php@7.2
  • php@7.1

Install NPM

npm install -g npm@latest &&
npm install -g gulp &&
npm install -g csscomb &&
npm install -g a11y &&
chflags nohidden ~/Library && 
defaults -currentHost write -globalDomain AppleFontSmoothing -int 2 && 
defaults write -g NSScrollViewRubberbanding -int 0 && 
defaults write ABShowDebugMenu -bool YES && 
defaults write ShowDebugMenu -bool true && 
defaults write DUDebugMenuEnabled 1 && 
defaults write expose-animation-duration -int 0 && 
defaults write hide-mirror -bool true && 
defaults write pinning -string start && 
defaults write showhidden -bool YES && 
defaults write DevMode -bool true && 
defaults write EmailApp Postbox && 
defaults write disable-elastic-scroll -bool YES && 
defaults write PowerButtonSleepsSystem -bool no && 
defaults write AddressesIncludeNameOnPasteboard -bool false && 
defaults write MGCinematicWindowDebugForceNoRoundedCorners 1 && 
defaults write ShowFullURLInSmartSearchField -bool true && 
defaults write DisablePrintPreview -boolean true && 
defaults write ShowRuler 0 && 
defaults write AppleEnableSwipeNavigateWithScrolls -bool FALSE && 
defaults write com.sublimetext ApplePressAndHoldEnabled -bool false &&
defaults write NSGlobalDomain KeyRepeat -int 0 && 
defaults write FXEnExtensionChangeWarning -bool false &&
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO &&
defaults write NSGlobalDomain NSWindowResizeTime .1 &&
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO
killall Dock;
killall SystemUIServer;
vagrant plugin install vagrant-bindfs &&
vagrant plugin install vagrant-hostmanager &&
vagrant plugin install vagrant-hos &&tsupdater
vagrant plugin install vagrant-scp &&
vagrant plugin install vagrant-share &&
vagrant plugin install vagrant-vbguest &&
vagrant plugin install vagrant-remove-old-box-versions &&
vagrant plugin update

This comment has been minimized.

Copy link
Owner Author

commented Mar 18, 2019

Getting a new laptop this week and will update everything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.