Skip to content

Instantly share code, notes, and snippets.

@damusix
Created July 3, 2019 00:12
Show Gist options
  • Save damusix/a620d0f7e3690a6382d98310ff4dab36 to your computer and use it in GitHub Desktop.
Save damusix/a620d0f7e3690a6382d98310ff4dab36 to your computer and use it in GitHub Desktop.
Setup new macbook
#!/bin/bash
# xcode
xcode-select --install
# brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
exec bash
# zsh
brew install zsh
# oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
# rvm
gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable --ruby
# http://dosdude1.com/mojave/#downloads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment