Skip to content

Instantly share code, notes, and snippets.

@aaditkamat
Forked from orlando/mac-setup.md
Last active July 21, 2020 01:56
Show Gist options
  • Select an option

  • Save aaditkamat/e697d3ca10109465edb51fd1b7a44c3d to your computer and use it in GitHub Desktop.

Select an option

Save aaditkamat/e697d3ca10109465edb51fd1b7a44c3d 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:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

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

# Browsers
brew cask install google-chrome
brew cask install microsoft-edge
brew cask install firefox

# IDEs & Workspaces
brew cask install macvim
brew cask install visual-studio-code
brew cask install mysqlworkbench
brew cask install monodraw
brew cask install notion

# Android
brew cask install java8
brew cask install android-studio

# Virtualization
brew cask install vagrant
brew cask install docker
brew cask install virtualbox

# Communication platforms
brew cask install skype
brew cask install slack
brew cask install franz
brew cask install discord
brew cask install microsoft-teams
brew cask install zoomus

brew cask install ngrok
brew cask install charles
brew cask install graphiql

# Dependency managers
brew install rbenv
brew install rbenv-gemset
brew install nvm
brew install pyenv
brew install yarn

# Programming Language
brew install golang

brew install coreutils
brew install gnu-tar --with-default-names
brew install ondir
brew install mkcert
brew install nss
brew install nektos/tap/act

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

# Database Management
brew install postgresql
brew install redis

brew install tfenv
brew install packer

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

# Plugins
brew install readline
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 install svn
brew cask install font-source-code-pro-for-powerline

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