Scripting Setting Up A New Machine

I like automating boring stuff. When setting up a new machine I tend to run a script that does a lot of the grunt work for me:


#!bin/bash

echo 'Installing homebrew' brew update && brew upgrade brew install wget

echo 'Installing Oh my Zshell' /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

echo 'Adding zshell plugins' git clone https://github.com/lukechilds/zsh-nvm ~/.oh-my-zsh/custom/plugins/zsh-nvm git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions

source ~/.zshrc

echo 'Installing nvm' curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash echo 'Installing latest node' nvm install node

say aubergine

Just a start!