Skip to content

Instantly share code, notes, and snippets.

@austinsonger
Created January 11, 2019 16:22
Show Gist options
  • Save austinsonger/1173b3a770796d772248af1667b22236 to your computer and use it in GitHub Desktop.
Save austinsonger/1173b3a770796d772248af1667b22236 to your computer and use it in GitHub Desktop.
New Developer
#!/usr/bin/env bash
#
# Bootstrap script for new developers
#
mv "iTerm.app" /Applications/
# Install Xcode
xcode-select --install
#
# Check for Homebrew, install if we don't have it
if test ! $(which brew); then
echo "Installing homebrew..."
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
fi
# Update Homebrew
brew update
PACKAGES=(
node
git
git-flow
ruby
postgresql@9.6
)
# Install Node and NPM
#brew install node
# Install Git
#brew install git
# Install Gitflow
#brew install git-flow
# Install Ruby
#brew install ruby
# Install Postgresql@9.6
#brew install postgresql@9.6
echo "Installing packages..."
brew install ${PACKAGES[@]}
echo "Cleaning up..."
brew cleanup
# Install RVM
\curl -sSL https://get.rvm.io | bash -s stable --ruby
hdiutil attach Koala.dmg
sudo installer -pkg MAMP.pkg
sudo installer -pkg node.pkg
hdiutil attach Sublime-Text.dmg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment