Instantly share code, notes, and snippets.

@orlando /mac-setup.md forked from todc/mac-setup.md
Last active Oct 20, 2018

Embed
What would you like to do?
Fresh Mac OS Setup

1. Run Software Update

Make sure everything is up to date in the App Store

2. Install Homebrew and Homebrew-Cask

  1. Open a terminal window and execute the Homebrew install script:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap caskroom/cask
brew tap caskroom/versions

3. Install Software via Homebrew

brew install mackup
brew install mas
brew install zsh zsh-completions
chsh -s $(which zsh)

brew cask install dropbox
brew cask install the-unarchiver
brew cask install 1password
brew cask install iterm2
brew cask install skyfonts
brew cask install sketch
brew cask install recordit
brew cask install ondir
brew cask install spotify
brew cask install musixmatch
brew cask install keybase
brew cask install shiftit
brew cask install dash
brew cask install real-vnc
brew cask install rescuetime

brew cask install google-chrome
brew cask install firefox

brew cask install macvim
brew cask install visual-studio-code
brew cask install sequel-pro
brew cask install rdm
brew cask install insomnia
brew cask install monodraw
brew cask install boostnote

brew cask install java8
brew cask install android-studio

brew cask install docker

brew cask install skype
brew cask install slack
brew cask install franz
brew cask install discord

brew install rbenv
brew install rbenv-gemset
brew install nodenv
brew install yarn
brew install golang
brew install glide

brew install coreutils
brew install gnu-tar --with-default-names

brew install optipng
brew install jpegoptim
brew install gifsicle
brew install svgo
brew install jhead

brew install fd
brew install fzf
brew install yamllint
brew install gpg
brew install watchman
brew install graphviz
brew install htop
brew install jq
brew install tmate
brew install ghostscript
brew install imagemagick
brew install cmake
brew install cocoapods
brew install wget

brew install postgresql
brew install redis

brew install terraform
brew install packer

brew install --HEAD universal-ctags/universal-ctags/universal-ctags

# Restore configuration files from Dropbox
mackup restore

# Install latest version of Ruby
rbenv install 2.5.1
rbenv global 2.5.1

# Install Node
nodenv install 10.11.0
nodenv global 10.11.0

4. Install packages for ruby and node

node

yarn global add prettier prettier-eslint eslint

ruby

gem install ruby-debug-ide debase rcodetools fastri rubocop

5. Install software via mas

mas install 937984704 # amphetamine
mas install 497799835 # xcode
mas install 1031280567 # postico
mas install 540348655 # monosnap
mas install 639968404 # parcel
mas install 409201541 # pages
mas install 409203825 # numbers

6. Install vim configuration

# Install Janus
curl -L https://bit.ly/janus-bootstrap | bash

cd ~/.janus
git clone https://github.com/w0rp/ale.git
git clone git://github.com/wakatime/vim-wakatime.git
git clone git@github.com:terryma/vim-multiple-cursors.git
git clone https://github.com/mxw/vim-jsx.git
git clone https://github.com/junegunn/fzf.vim.git
git clone git@github.com:zerowidth/vim-copy-as-rtf.git
git clone git@github.com:saltstack/salt-vim.git
git clone git@github.com:tpope/vim-abolish.git
git clone https://github.com/hashivim/vim-terraform.git
git clone git://github.com/digitaltoad/vim-pug.git
git clone https://github.com/junegunn/fzf.git
git clone https://github.com/orlando/sexy-railscasts-theme.git

7. Install Fonts

Hack - for iTerm2, macvim and vscode

wget https://github.com/source-foundry/Hack/releases/download/v3.003/Hack-v3.003-ttf.zip -O hack.zip
unzip -j -d ~/Library/Fonts hack.zip
rm hack.zip
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment