Skip to content

Instantly share code, notes, and snippets.

@cabrinha
Forked from kevinelliott/osx-10.10-setup.md
Last active April 9, 2018 18:10
Show Gist options
  • Save cabrinha/fc60bfb98993e9874655 to your computer and use it in GitHub Desktop.
Save cabrinha/fc60bfb98993e9874655 to your computer and use it in GitHub Desktop.

Mac OS X 10.13 High Sierra

Custom recipe to get OS X 10.11 Yosemite running from scratch, setup applications and developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after a fresh install. On average, I reinstall each computer from scratch just... whenever, and I do not perform upgrades between distros.

This keeps the system performing at top speeds, clean of trojans, spyware, and ensures that I maintain good organizational practices for my content and backups. I highly recommend this.

You are encouraged to fork this and modify it to your heart's content to match your own needs.

Install Software

The software selected is software that is "tried and true" --- software I need after any fresh install. I often install other software not listed here, but is handled in a case-by-case basis.

Install from App Store

Install from Third-Party Websites

Fonts

Hermit Fira Code

#Xcode Command Line Tools

Xcode > Preferences > Downloads > Command Line Tools

#Homebrew

Run Xcode and accept the license

Homebrew can not install properly until this occurs.

Install Homebrew

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

At the time of this writing, brew doctor says that Xcode 6.1 is required, which means downloading it from the Apple Developer Center until it is released in the Mac App Store.

Install common applications via Homebrew

brew install bash zsh zsh-syntax-highlighting tree git vim ssh-copy-id gnupg go npm python openssl reattach-to-user-namespace tmux wget 

Install Spacemacs

# need to install tern for spacemacs
npm i tern -g

brew tap d12frosted/emacs-plus
brew install emacs-plus --HEAD --with-natural-title-bar

OS X Preferences

#Set a blazingly fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 0.02

#Set a shorter Delay until key repeat
defaults write NSGlobalDomain InitialKeyRepeat -int 12

#Enable repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false

#Show the ~/Library folder
chflags nohidden ~/Library

#Use current directory as default search scope in Finder
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"

#Show Path bar in Finder
defaults write com.apple.finder ShowPathbar -bool true

#Show Status bar in Finder
defaults write com.apple.finder ShowStatusBar -bool true

Set hostname

sudo scutil --set HostName psyche

#Git

Setup Github

ssh-keygen -t rsa -C "scott@internaught.io"

# Copy ssh key to github.com
vim ~/.ssh/id_rsa.pub

# Test connection
ssh -T git@github.com

# Set git config values
git config --global user.name "Scott Cabrinha"
git config --global user.email "scott@internaught.io"
git config --global github.user internaught
git config --global github.token your_token_here
git config --global core.editor "vim"
git config --global color.ui true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment