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
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
-
XCOPY to external disk if possible
~/.gitconfig
~/.ssh
~/.zshrc
~/Desktop
~/Dev
~/Downloads
~/Documents
~/lib
~/Pictures
- optional
~/.angular-cli.json
~/_play
~/Movies
~/repos
- review other folders in the root
-
Dev
- Dump list of all repos in
~/repos
- Dump list of all repos in
-
Node
-
get list of all globally installed NPM packages
$ npm list -g --depth=0
-
use that list to update the npm script: app-settings/npminstall.sh
-
-
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
- get a list using
- backup snippets & user settings to app-settings/visual-studio-code
- get list of all installed extensions and update the list in scripts/vscode-ext-install.sh
-
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
- get a list using
- get list of all installed apps & update the list in scripts/macos-install.sh
- restart with COMMAND+R
- when apple logo comes up... delete partition, NOT tiny partition (2nd listed)
- back up and install MacOS via network
The following installs & configuration should be done to setup automated installs.
Install Homebrew for automated installs & updates.
curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/homebrew-install.sh | sh
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
- 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
-
- import settings from
curl -L https://raw.githubusercontent.com/andrewconnell/osx-install/master/scripts/coreinstall.sh | sh
-
login to the following:
- Chrome
- do this first & login to LastPass to get licenses
- Dropbox
- Google-drive
- Skype
- Chrome
-
Alfred
- Activate power pack within app settings
- Preferences > Advanced: Syncing - set to
~/Dropbox/My AppSettings/Alfred
-
Amphetamine
-
Bartender
- License & configure (use this image for reference)
-
NoSleep
- Launch & configure (use this image for reference)
-
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
- copy to
-
Xtrafinder
- Reboot to recovery OS: reboot & hold Command+R
- select Utilities => Terminal
- enter
csrutil disable
- restart
- install Xtrafinder (app-settings/XtraFinder.dmg)[app-settings/XtraFinder.dmg]
- Reboot to recovery OS: reboot & hold Command+R
- select Utilities => Terminal
- enter
csrutil enable
- restart
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
- import shortcuts by opening Safari / Firefox & enter the url in app-settings/divvy-shortcuts.md
- Jump Desktop
- then sync the machines from folder in dropbox
- Kindle
- login
- Parcel
- login
- WeatherClip
- launch and configure
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)
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
- Creative-Cloud
- import settings from Adobe CC, Adobe Media Encoder - import preferences from app-settings/adobe-creative-suite
- Creative-Cloud
- Visual Studio
- open & login with O365 account
- change updates to alpha channel
- Visual Studio Code
- install Hack font
- font found in app-settings as Hack-*-otf.zip
- 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:
- from app-settings/visual-studio-code
- to
~/Library/Application Suport/Code/User
- add license key for WallabyJS
- repeat for VSCode Insiders install
- install Hack font
$ echo '. <(azure --completion)' >> .zshrc
-
Amazon Music
- install located in
~/Dropbox/My AppSettings/_Installs
- install located in
-
Call Recorder (for skype)
- install located in
~/Dropbox/My AppSettings/_Installs
- install located in
-
Powermate
- install located in
~/Dropbox/My AppSettings/_Installs
- install located in
-
Mac Office
Install this from Office 365... not sure if acts differently from the homebrew cask
microsoft-office
... might be easier to use homebrew?- 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
- General
- Outlook configuration
-
TechSmith SnagIt
- get by logging into TechSmith
- then launch to license
-
BitDefender
- install located in
~/Dropbox/My AppSettings/_Installs
- install located in
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
brew doctor
brew update
brew cleanup
brew cask cleanup
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
- Desktop (change these settings by right-click desktop & pick options)
- set icon size 40x40
- grid spacing - midpoint
- check SHOW ITEM INFO
- Finder
- mirror what is in the screenshot macOS-Finder.png
- Menu Bar / Bartender
- mirror what is in the screenshot macOS-MenuBar.png
- System Preferences
- Accessibility
- Zoom: check the following
- use keyboard shortcuts to Zoom
- use scroll gesture with modifier keys to zoom (select ^ CONTROL)
- Zoom: check the following
- 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
- disable Mission Control & Application Windows options
- Shortcuts - uncheck options for Spotlight
- Set activation keystroke for Alfred: CMD+SPACE
- General:
- Internet Accounts
- iCloud
- O365
- gmail
- 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 3
- Bartender
- Divvy
- Dropbox
- Duet
- Google Chrome (hide = checked)
- Google Drive
- iTunesHelper
- No Sleep
- Skype for Business
- The Clock
- TripMode
- WeatherClip
- Accessibility
- clone select repositories from github =>
~/repos
Run first backups.
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 cu --dry-run
# optionally update everything
brew cu
# 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]