Download Sierra (or current Mac OS) via the AppStore App. Cancel out of the installer window when it loads up after it downloads.
The installer app will be in the Applications directory.
After inserting the USB stick, run the following command on the terminal. Note this expects the USB drive to be named Untitled:
$ sudo /Applications/Install\ macOS\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\ macOS\ Sierra.app- Insert the USB drive with the OS installer on it.
- Restart the computer and hold down the
altkey. - Choose "Install mac OS" option
- When the option shows, pick Disk Utilities and use this to erase the hard drive
- Then choose the main menu option to install the mac OS
- Make sure the OS is up to date
- Install Xcode
- Install Xcode Select for command line tools:
$ xcode-select --install- Drag over backed up files and dots
- Install Homebrew (follow the instructions here): https://brew.sh/
- Install these brew packages:
- zsh
- git
- vim
- tmux
- nodejs
- yarn
- imagemagick
- rbenv
- rbenv-gemset
- pyenv
- pyenv-virtualenv
- postgres (then brew services start postgres)
- mysql (then brew services start mysql)
- redis (then brew services start redis)
- fzf (then run script ./usr/local/opt/fzf/install)
- chromedriver
- phantomjs
- ansible
- ag
- tig
- stow
- openssl
- httpie
- sqlite
- pv
- tree
- nmap
- golang
- neovim/neovim/neovim
- heroku
- Install these brew cask packages:
- dropbox
- iterm2
- visual-studio-code
- istat-menus
- virtualbox
- vagrant
- screenhero
- skype
- Install oh-my-zsh: https://github.com/robbyrussell/oh-my-zsh
- Install global npms:
- angular-cli
- node-sass
- typescript
- Show hidden files in finder
$ defaults write com.apple.finder AppleShowAllFiles YES
$ killall Finder- Keyboard hold down key repeat
$ defaults write -g ApplePressAndHoldEnabled -bool false- Manually download chrome (there are some permissions issues with approach of using
brew caskto download Chrome. - Install additional apps from the App Store
- Install dotfiles: https://github.com/onehouse/dotfiles and follow README directions
- Use brew installed ZSH as default shell:
$ sudo dscl . -create /Users/$USER UserShell /usr/local/bin/zsh- Config iterm with dark color scheme
- Get vim setup
$ curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
$ v
>:PlugInstall- Install fonts
$ brew tap caskroom/fonts
$ brew cask install font-consolas-for-powerline
$ brew cask install font-fira-code font-fira-mono font-fira-mono-for-powerline font-fira-sans
$ brew cask install font-roboto-
Install Alfred: https://www.alfredapp.com/
-
Configure Visual Studio Code
- Copy over config file: https://gist.github.com/elliotlarson/a6f1144319c6ed670a7b7bf9c1db2c49
- Install extnensions
-
Install Rbenv rubies
$ rbenv install 2.4.1
$ rbenv global 2.4.1- Install Pyenv pythons
$ pyenv install 3.6.1
$ pyenv global 3.6.1