Skip to content
My setup steps, scripts & settings for configuring my MacOS.
Shell Batchfile
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app-settings november 2019 refresh Nov 2, 2019
docs refreshed july 2019 Jul 17, 2019
images november 2019 refresh Nov 2, 2019
scripts november 2019 refresh Nov 2, 2019
.gitignore updated to reflect clean MacOS Sierra install Oct 11, 2016
default.profraw update homebrew install list Mar 14, 2018
readme.md november 2019 refresh Nov 2, 2019

readme.md

MacOS Buildout

This repo acts as a log for my buildout of my laptop. As I add stuff or change settings, I log it here so pave & restores can go quickly in the future. Feel free to fork & customize to your liking.

More background info: BLOG: Rapid Complete Install / Reinstall OS X Like a Champ in Three-ish Hours

Before Paving the primary partition...

Do the following before paving the partition. This is to get the way I have things configured in the dock & menu bar back the way I want them.

  • MacOS & System

    • have a current Apple TimeMachine backup job finished

    • screenshots of Finder settings

    • screenshot MacOS dock

    • screenshot expanded Bartender MacOS Menu Bar

  • XCOPY to external disk if possible

    • ~/.gitconfig
    • ~/.ssh
    • ~/.zshrc
    • ~/Desktop
    • ~/Downloads
    • ~/Documents
    • ~/Pictures
    • ~/voitanos-workspace
    • optional
      • ~/_play
      • ~/Movies
      • ~/repos
      • review other folders in the root
  • Dev

    • Dump list of all repos in ~/repos
  • Node

  • visual-studio-code

    • get list of all installed extensions and update the list in scripts/vscode-ext-install.sh
      • get a list using $ code --list-extensions
      • sort alphabetically
      • update the file vscode-ext-install.sh
    • backup snippets & user settings to app-settings/visual-studio-code
      • user settings: ~/Library/Application Support/Code/User
  • Mac App Store apps

    • get list of all installed apps & update the list in scripts/macos-install.sh
      • get a list using $ mas list
      • sort alphabetically
      • update the file macos-install.sh

Pave Partition

  1. restart with COMMAND+R
  2. when apple logo comes up... delete partition, NOT tiny partition (2nd listed)
  3. back up and install MacOS via network

After Pave, Install the Following

The following installs & configuration should be done to setup automated installs.

Homebrew & Homebrew Cask

Install Homebrew for automated installs & updates.

curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/homebrew-install.sh | sh

Setup Command Prompt

Install ZSH, Oh My ZSH, iTerm & copy fonts & themes:

curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/cmdprompt-install.sh | sh
  • iTerm
    • import settings from ~/Dropbox/My AppSettings/iTerm
    • apply custom bullet-train theme
      • update ~/.zshrc to specify the theme used: ZSH_THEME="bullet-train"
    • update SSH
      • copy the ~/.ssh keys into the new location

      • reset permissions & add private key to keychain:

        sudo chmod 600 ~/.ssh/id_rsa
        ssh-add -K ~/.ssh/id_rsa

Install Core Apps: coreinstall.sh

curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/coreinstall.sh | sh

Configure Core Apps

  • login to the following:

    • Chrome
      • do this first & login to LastPass to get licenses
    • Dropbox
    • Google-drive
    • Skype
  • Alfred

    • Activate power pack within app settings
    • Preferences > Advanced: Syncing - set to ~/Dropbox/My AppSettings/Alfred
  • Amphetamine

  • Bartender

  • NoSleep

  • Outlook

  • Steam

    • Launch & login
    • Disable auto login: Preferences > Interface > [uncheck] Run Steam with my computer starts
  • Sublime Text

    • add license
    • package control
    • install packages:
      • BracketHighlighter
      • Git
      • Indent XML
      • Markdown Preview
      • MarkdownEditing
      • Preference Helper
      • Pretty JSON
      • SnippetMaker
      • SublimeCodeIntel
      • Theme-Spacegray
      • TypeScript
      • View In Browser
    • Update preferences from those in app-settings/sublime
      • copy to ~/Library/Application Support/Sublime Text

Install Mac App Store apps: macos-install.sh

Install this stuff from the Apple App Store, then run the next install scripts... while they run, configure these.

curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/macos-install.sh | sh

Configure apps:

  • Divvy
  • Jump Desktop
    • then sync the machines from folder in dropbox
  • Kindle
    • login
  • Parcel
    • login
  • WeatherClip
    • launch and configure

Install My Personal Apps: myinstall.sh

curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/myinstall.sh | sh
  • license Synergy
  • login Slack
  • login Steam
  • restore iStat Settings [app-settings/iStat Menus Settings.ismp](app-settings/iStat Menus Settings.ismp)

Install Dev Apps: devinstall.sh

curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/devinstall.sh | sh
  • Creative Cloud installs
    • Acrobat DC
    • After Effects CC
    • Audition CC
    • Bridge CC
    • Illustrator CC
    • Lightroom CC
    • Media Encoder
    • Photoshop CC
    • Prelude CC
    • Premiere Pro CC
  • launch
    • Docker for MacOS
    • Duet
  • license
    • Balsamiq-mockups
    • Camtasia
    • Charles
    • Screenflow
    • SmartGit
    • SmartSynchronize
  • setup
  • Visual Studio
    • open & login with O365 account
    • change updates to alpha channel
  • Visual Studio Code
    • install Hack font

    • Launch VS Code

      • from command pallet, find Shell Command

        • uninstall & reinstall command in path
        • repeat the above for VS Code Insiders
      • install extensions:

        curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/vscode-ext-install.sh | sh
    • copy snippets & settings:

Setup Azure-cli AutoComplete:

$ echo '. <(azure --completion)' >> .zshrc

Manual Installs

  • Mac Office

    Install this from Mac AppStore

    • Outlook configuration
      • General
        • uncheck "group similar folders from different accounts"
        • check "hide on my computer folders"
      • Font
        • color: = navy
        • size: = 11.5
      • Notifications & Sounds: uncheck all except for reminder
      • Reading
        • set to mark as read only when opening in seperate window
      • Signature
      • Signin to Skype for Business
  • TechSmith SnagIt

    • get by logging into TechSmith
    • then launch to license

Install Node

manage node installs using nvm... this lets me test different versions of node as well as avoid issue with having to use sudo when installing packages globally

curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/nvm-install.sh | sh

make sure this is at the very end of .zshrc

$ export NVM_DIR="$HOME/.nvm"
$ . "/usr/local/opt/nvm/nvm.sh"

install node LTS and stable versions:

curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/nodeinstall.sh | sh

now install global packages for each version of node installed:

curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/npm-install.sh | sh

After all Installs, Update Brew, Brew Cask & Purge Installs

brew doctor
brew update
brew cleanup
brew cask cleanup

Setup git:

might already be done by copying the hidden files over

git config --global user.name "Andrew Connell"
git config --global user.email <insert primary email>
git config --global credential.helper osxkeychain
# set VSCode as commit message editor & merge tool
git config --global core.editor "code -w"
git config --global merge.tool code

MacOS Tweaks

  • Desktop (change these settings by right-click desktop & pick options)
    • set icon size 40x40
    • grid spacing - midpoint
    • check SHOW ITEM INFO
  • Menu Bar / Bartender
  • System Preferences
    • Accessibility
      • Zoom: check the following
        • use keyboard shortcuts to Zoom
        • use scroll gesture with modifier keys to zoom (select ^ CONTROL)
    • Display
      • set scale for laptop LCD to max (furthest right)
    • Dock
      • size 30%
      • magnification 80%
      • minimize windows = genie effect
      • animate opening apps
      • auto hide & show
      • show indicators for open apps
      • mirror what is in the screenshot macOS-Dock.png
    • General
      • check Use dark menu bar & dock
    • Keyboard
      • General:
        • Key repeat: 100% fast
        • Delay until repeat: 2nd tick from right
        • CHECK Use all F1, F2, etc keys as standard function keys
      • Mission Control
        • disable Mission Control & Application Windows options
          • these hijack the multi-line cursor ability in Sublime Text
      • Shortcuts - uncheck options for Spotlight
        • Set activation keystroke for Alfred: CMD+SPACE
    • Internet Accounts
      • iCloud
      • O365
      • gmail
      • facebook
      • twitter
      • facebook
      • don’t do linkedin... too many damn birthday alerts!
    • Printers
      • install / add printers
    • Security > Privacy
      • CheatSheet
      • Divvy
      • Dropbox
      • SnagIt & SnagItHelper
      • Synergy
    • Users & Groups / Login Items
      • Alfred 4
      • Bartender
      • Divvy
      • Google Chrome (hide = checked)
      • Google Drive
      • No Sleep
      • The Clock
      • TripMode
      • WeatherClip

Data Restore

  • clone select repositories from github => ~/repos

Setup TimeMachine Backups

Run first backups.

Ongoing... HOWTO Keep Things Updated

to keep Homebrew installed things update, do this:

brew update           # download app updated formulas
brew outdated         # what’s old?
brew upgrade          # upgrade everything locally
# list all brew casks installed & their versions
brew cask outdated
brew cask upgrade
# cleanup everything
brew cleanup

update MacOS apps:

mas outdated    # what's old
mas upgrade     # upgrade everything

update MacOS: ref

softwareupdate --list
# install things based on the name returned using
sudo softwareupdate --install [name listed]

Analytics

You can’t perform that action at this time.