Skip to content

Instantly share code, notes, and snippets.

@two7sclash-zz
Last active October 4, 2017 14:07
Show Gist options
  • Save two7sclash-zz/d86c68c3bdc649556750d08a3f3deae1 to your computer and use it in GitHub Desktop.
Save two7sclash-zz/d86c68c3bdc649556750d08a3f3deae1 to your computer and use it in GitHub Desktop.
#!/bin/zsh
# Check if xcode command line tools are installed
if ! [ "$(xcode-select -p)" ]; then
xcode-select --install
exit 1
fi
echo "Getting the Pivotal workstation setup scripts."
curl https://github.com/pivotal/workstation-setup/archive/master.zip | unzip
mv workstation-setup workspace
rmdir workspace/pivotal_ide_prefs
echo "Let's generate a key."
ssh-keygen
cat ~/.ssh/id_rsa.pub | pbcopy
read -p "The key is on your clipboard. Add it to bitbucket and then hit ENTER."
# Install brew
if ! [ -x "$(command -v brew)" ]; then
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
brew update
# General tools
brew cask install iterm2
# Browsers
brew cask install google-chrome
# Editors
brew cask install atom
brew cask install emacs
brew cask install intellij-idea-ce
# Web stuff
brew install node
brew cask install soapui
# Java
brew install gradle
brew install maven
brew cask install java
# Cloud Foundry
brew tap cloudfoundry/tap
brew install cf-cli
# Pairing tools
brew cask install screenhero
brew cask install slack
brew cask install zoomus
brew cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment