Skip to content

Instantly share code, notes, and snippets.

@siathalysedI
Forked from orlando/mac-setup.md
Created April 27, 2020 13:02
Show Gist options
  • Save siathalysedI/9071647d60f8730ee67d7f5dd6657338 to your computer and use it in GitHub Desktop.
Save siathalysedI/9071647d60f8730ee67d7f5dd6657338 to your computer and use it in GitHub Desktop.
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
brew install bfg
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 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 transmission
brew cask install aws-vault
brew cask install loom

brew cask install google-chrome
brew cask install firefox

brew cask install macvim
brew cask install visual-studio-code
brew cask install mysqlworkbench
brew cask install monodraw
brew cask install notion

brew cask install java8
brew cask install android-studio

brew cask install docker
brew cask install virtualbox

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

brew cask install ngrok

brew install readline
brew install rbenv
brew install rbenv-gemset
brew install nodenv
brew install pyenv
brew install yarn
brew install golang

brew install coreutils
brew install gnu-tar --with-default-names
brew install ondir
brew install mkcert
brew install nss

brew install heroku/brew/heroku
brew install getsentry/tools/sentry-cli
brew install awscli
brew install github/gh/gh

brew install optipng
brew install jpegoptim
brew install gifsicle
brew install svgo
brew install jhead
brew install librsvg
brew install pngquant

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 ghostscript
brew install imagemagick
brew install cmake
brew install cocoapods
brew install wget

brew install postgresql
brew install redis

brew install tfenv
brew install packer

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

brew install wakatime-cli
brew install antigen

# Restore configuration files from Dropbox
mackup restore

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

# Install Node
nodenv install 12.16.1
nodenv global 12.16.1

4. Install packages for ruby, node and terraform

node

npm install -g add prettier prettier-eslint eslint commitizen cz-conventional-changelog standard

ruby

gem install ruby-debug-ide debase rcodetools fastri rubocop

terraform

tfenv install latest
tfenv install 0.11.14

5. Install software via mas

mas install 937984704 # amphetamine
mas install 497799835 # xcode
mas install 540348655 # monosnap
mas install 639968404 # parcel
mas install 409201541 # pages
mas install 409203825 # numbers
mas install 409183694 # keynote
mas install 907364780 # tomato one
mas install 1031280567 # postico
mas install 1056643111 # clocker
mas install 1176895641 # spark

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 [email protected]: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 [email protected]:zerowidth/vim-copy-as-rtf.git	
git clone [email protected]:saltstack/salt-vim.git	
git clone [email protected]: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

FiraCode - for iTerm2, macvim and vscode

brew tap homebrew/cask-fonts
brew cask install font-fira-code

8. Install Iterm2 theme

https://github.com/tallpants/vscode-theme-iterm2

9. Custom commands

# disable press and hold for vscode
defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment