Skip to content

Instantly share code, notes, and snippets.

@maxfenton
Last active April 17, 2024 10:55
Show Gist options
  • Save maxfenton/515f9f6fcfab0eadfd1a to your computer and use it in GitHub Desktop.
Save maxfenton/515f9f6fcfab0eadfd1a to your computer and use it in GitHub Desktop.
System setup stuff for a new OLD mac (a/o 2020)

New computer setup

a/o 2020-05-29

--

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!
  Desktop
      disable screen saver
      background: 17% grey
  Spotlight
      turn off command keys
      disable almost everything
  Network
      set DNS to [OpenDNS](http://www.opendns.com/opendns-ip-addresses/)
      	208.67.222.222
      	208.67.220.220
      or [Cloudflare](http://1.1.1.1/)
        1.1.1.1
        1.0.0.1

--

Get online

  • Safari: download Dropbox
  • Dropbox: selective sync: just /Writing + /1Password (using iCloud for 1P and Resilio Sync for /writing)
  • 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 https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

Install Homebrew

brew doctor && brew update && brew install ssh-copy-id wget legit node z coreutils cask php && touch /usr/local/etc/my.cnf.d/.gitkeep && brew prune

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Run system stuff in gist below: brew-setup.md

Setup writer folder and nvAlt

  • Dropbox selective sync: Resilio 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

Calendars

setup Google and Fastmail accounts in BusyCal

Email

setup Fastmail account in Mail (or don't)

Powerline

https://powerline.readthedocs.org/en/latest/installation/osx.html

brew cask install python3 &&
brew cask install quicksilver &&
pip install powerline-status

Configure .ssh

Local Server Options

Node


On vintage machines, 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 https://raw.githubusercontent.com/xdissent/ievms/master/ievms.sh | 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

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 com.apple.addressbook ABShowDebugMenu -bool YES && 
defaults write com.apple.appstore ShowDebugMenu -bool true && 
defaults write com.apple.DiskUtility DUDebugMenuEnabled 1 && 
defaults write com.apple.dock expose-animation-duration -int 0 && 
defaults write com.apple.dock hide-mirror -bool true && 
defaults write com.apple.dock pinning -string start && 
defaults write com.apple.Dock showhidden -bool YES && 
defaults write com.apple.helpviewer DevMode -bool true && 
defaults write com.apple.iPhoto EmailApp Postbox && 
defaults write com.apple.iTunes disable-elastic-scroll -bool YES && 
defaults write com.apple.loginwindow PowerButtonSleepsSystem -bool no && 
defaults write com.apple.mail AddressesIncludeNameOnPasteboard -bool false && 
defaults write com.apple.QuickTimePlayerX MGCinematicWindowDebugForceNoRoundedCorners 1 && 
defaults write com.apple.Safari ShowFullURLInSmartSearchField -bool true && 
defaults write com.google.Chrome DisablePrintPreview -boolean true && 
defaults write com.apple.TextEdit ShowRuler 0 && 
defaults write com.google.Chrome.plist AppleEnableSwipeNavigateWithScrolls -bool FALSE && 
defaults write com.sublimetext ApplePressAndHoldEnabled -bool false &&
defaults write NSGlobalDomain KeyRepeat -int 0 && 
defaults write com.apple.finder FXEnExtensionChangeWarning -bool false &&
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO &&
defaults write NSGlobalDomain NSWindowResizeTime .1 &&
defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO &&
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false &&
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
@maxfenton
Copy link
Author

Getting a new laptop this week and will update everything.

@maxfenton
Copy link
Author

I sure do need to update this for silicon in 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment