Skip to content

Instantly share code, notes, and snippets.

@ayush29feb
Last active January 8, 2018 22:48
Show Gist options
  • Select an option

  • Save ayush29feb/18e265ca3e65978024fa54db863f5df3 to your computer and use it in GitHub Desktop.

Select an option

Save ayush29feb/18e265ca3e65978024fa54db863f5df3 to your computer and use it in GitHub Desktop.
A simple bash script to setup a new mac
#!/bin/bash
# Install Brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Add Visual Studio Code (code)
cat << EOF >> ~/.bash_profile
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin"
EOF
# Install Node
brew install node
npm install -g gulp-cli
# Install Java & Ant
brew cask install java
brew install ant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment