Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@damusix
Created July 3, 2019 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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