Skip to content

Instantly share code, notes, and snippets.

@erochest
Created September 18, 2017 20:40
Show Gist options
  • Save erochest/705f79cb2f5960816b5b105a091c12b4 to your computer and use it in GitHub Desktop.
Save erochest/705f79cb2f5960816b5b105a091c12b4 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "First, make sure your system's up-to-date and you have xcode installed."
echo "Let's get this out of the way."
sudo xcodebuild -license
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 "Starting Pivotal workstation setup."
pushd ~/workspace
./labs-engineer.sh
popd
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."
echo "Installing things from CP's script at https://gist.github.com/dehli/75832971bcde45d63aea7c39d3fa85aa"
brew cask uninstall intellij-idea
brew cask install atom emacs soapui intellij-idea-ce
brew cleanup
@adamh
Copy link

adamh commented Sep 18, 2017

curl | unzip didn't work as expected.

I had to do:

curl -L -O https://github.com/pivotal/workstation-setup/archive/master.zip
unzip master.zip
mv workstation-setup-master workspace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment