Skip to content

Instantly share code, notes, and snippets.

@matthewberryman
Created September 4, 2017 23:30
Show Gist options
  • Save matthewberryman/42681d0c367d5419d0709657d5f6557a to your computer and use it in GitHub Desktop.
Save matthewberryman/42681d0c367d5419d0709657d5f6557a to your computer and use it in GitHub Desktop.
setup_nice_environment_on_mac.sh
#!/usr/bin/env bash
brew upgrade
brew cleanup
brew install zsh git
cd ~
git clone https://github.com/matthewberryman/oh-my-zsh .oh-my-zsh && ln -s .oh-my-zsh/templates/zshrc.mac .
git clone https://github.com/creationix/nvm .nvm
echo "/usr/local/bin/zsh" | sudo tee -a /etc/shells > /dev/null
sudo chsh -s /usr/local/bin/zsh $USER
# Then close terminal and re-open and run
nvm install v8.4.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment