Skip to content

Instantly share code, notes, and snippets.

@marktopper
Forked from maxfenton/a-new-mac-setup.md
Last active June 10, 2020 23:55
Show Gist options
  • Save marktopper/ef2bcf8d88703fc29de4 to your computer and use it in GitHub Desktop.
Save marktopper/ef2bcf8d88703fc29de4 to your computer and use it in GitHub Desktop.

New computer setup


Format the drive

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

First boot

Change system password.

System Prefs

  Security & Privacy
      disable Location services
      allow apps
      enable Filevault
  Desktop
      disable screen saver
      background: 17% grey
  Spotlight
      turn off command keys
      disable almost everything
  Network
      add DNS (http://www.opendns.com/opendns-ip-addresses/)
      208.67.222.222
      208.67.220.220

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 Firefox Developer
  • Safari: download Chrome
  • Firefox: Sync
  • Chrome: Sync

Download applications

  • App Store: download purchased apps (especially UnArchiver)
  • iTerm 2

Zsh

Download

curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh

https://gist.github.com/maxfenton/515f9f6fcfab0eadfd1a

Install OS X CLI Tool

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

Command Line

install Git

  • do directly through GitHub app b/c why not *

cf. https://help.github.com/articles/set-up-git\

Install Homebrew

  • see the brew.md file attached to this gist*

Run system stuff in gist

https://gist.github.com/maxfenton/515f9f6fcfab0eadfd1a

https://gist.github.com/maxfenton/515f9f6fcfab0eadfd1a/edit

Download specific software on Dropbox

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

Setup writer folder and nvAlt

  • Dropbox selective sync: Writer folder
  • Download nvAlt
  • set nvAlt to use Writer folder

Download apps from the Web

AppZap built in apps

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

Downgrade iTunes

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

Calendars

setup Google and Fastmail accounts in BusyCal

Email

setup Fastmail account in Postbox

Firefox, Safari, Chrome

  • adblock + settings
  • stylebot + settings

Install virtual machines

Download ievms curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | bash


Additions

brew install python brew install coreutils brew install vim --with-python --with-ruby --with-perl brew install macvim --env-std --override-system-vim

pip install powerline-status

xcode-select --install

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

brew doctor

brew update

sudo chown $USER /usr/local

brew update

brew install bash-completion ssh-copy-id wget

brew install legit

brew install node

npm install -g npm@latest

npm install -g gulp

npm install -g csscomb

npm install -g keybase-installer

npm install -g bower

npm install -g a11y

brew install z

cf. https://gist.github.com/maxfenton/c5a316f4254d27b18cf3

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 hide-mirror -bool true;killall Dock
defaults write com.apple.dock pinning -string start;
defaults write com.apple.helpviewer DevMode -bool true
defaults write com.apple.helpviewer DevMode -bool true;
defaults write com.apple.iPhoto EmailApp Mail
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.QuickTimePlayerX MGCinematicWindowDebugForceNoRoundedCorners 1;
defaults write com.apple.Safari ShowFullURLInSmartSearchField -bool 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 NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO
defaults write NSGlobalDomain NSWindowResizeTime .1;
killall Dock;
killall SystemUIServer;
sudo chown $USER /usr/local;
sudo defaults write com.apple.Finder NSAppSleepDisabled -bool YES;
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist;
sudo pmset -a standbydelay 43200;
sudo tmutil disablelocal;
killall Dock;
killall SystemUIServer;
1Password 4.app
A Better Finder Rename 9.app
Adium.app
Adobe Creative Cloud
Adobe Illustrator CC 2014
Airfoil Speakers.app
Amazon.app
Aperture.app
Apple Configurator.app
AppZapper.app
Arq.app
arRsync.app
Automator.app
Bartender.app
BaseApp.app
BBEdit.app
Big Mean Folder Machine 2.app
Billings Pro.app
BitTorrent Sync.app
BusyCal.app
Calculator.app
Calendar.app
CloudApp.app
CodeKit.app
Contacts.app
CSSEdit.app
Dashboard.app
Dictionary.app
Disk Inventory X.app
Divvy.app
Drobo Dashboard.app
Dropbox.app
Dropmark.app
Duet.app
Enqueue.app
Espresso.app
Evernote.app
FaceTime.app
FirefoxDeveloperEdition.app
Fluid.app
Flux.app
Font Book.app
Gapplin.app
Gemini.app
Google Chrome.app
GPG Keychain Access.app
iA Writer.app
Icon Slate.app
iExplorer.app
Image Capture.app
ImageOptim.app
iPhoto Library Manager.app
iPhoto.app
iTerm.app
iTunes.app
Kaleidoscope.app
Kindle.app
Launchpad.app
Leech.app
LICEcap.app
Macs Fan Control.app
Mactracker.app
Mail.app
MakeiPhoneRingtone.app
MAMP
MAMP PRO
Media Pro.app
Messages.app
Mission Control.app
Moom.app
nvALT.app
OmniFocus.app
Pacifist.app
Photo Booth.app
Pixelmator.app
Pocket.app
Postbox.app
Preview.app
Quicksilver.app
QuickTime Player 7.app
Reeder.app
Reminders.app
Safari.app
ScreenDimmer.app
Sequel Pro.app
ShrinkIt.app
Simple Comic.app
Slack.app
Slicy.app
SourceTree.app
Start Working.app
Sublime Text.app
SuperDuper!.app
Switch.app
Synergy.app
Terminal.app
TextEdit.app
TextExpander.app
The Unarchiver.app
Time Machine.app
Tofu.app
TorBrowser.app
TrackSift.app
Transmission.app
Transmit.app
TunnelBear.app
Tweetbot.app
Typist.app
Ulysses.app
Vagrant
VirtualBox.app
VLC.app
Xcode.app
xScope.app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment