Skip to content

Instantly share code, notes, and snippets.

@johndpope-karhoo
Created October 12, 2016 21:34
Show Gist options
  • Save johndpope-karhoo/ba5a166ed0eeda33fdebfb3c9a5aeb56 to your computer and use it in GitHub Desktop.
Save johndpope-karhoo/ba5a166ed0eeda33fdebfb3c9a5aeb56 to your computer and use it in GitHub Desktop.
setup OSX.sh
# chmod +x karhoo_setup.sh
#!/bin/bash
#NODE_VERSION=0.4.7
#NPM_VERSION=1.0.94
# Examples
# https://github.com/donnemartin/dev-setup/blob/master/brew.sh
# https://gist.github.com/phatblat/1713458#file-heroku-node-init-sh
# https://gist.github.com/zenorocha/7159780
# Resources
# https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Homebrew-and-Python.md
# https://github.com/caskroom/homebrew-cask
#
# Check if Homebrew is installed
#
which -s brew
if [[ $? != 0 ]] ; then
# Install Homebrew
# https://github.com/mxcl/homebrew/wiki/installation
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
else
brew update
fi
#
# Check if Git is installed
#
which -s git || brew install git
xcode-select --install
#
# Check if Node is installed and at the right version
#
#echo "Checking for Node version ${NODE_VERSION}"
#node --version | grep ${NODE_VERSION}
#if [[ $? != 0 ]] ; then
# Install Node
# cd `brew --prefix`
# $(brew versions node | grep ${NODE_VERSION} | cut -c 16- -)
# brew install node
# Reset Homebrew formulae versions
# git reset HEAD `brew --repository` && git checkout -- `brew --repository`
#fi
brew cask
brew cask install --appdir="/Applications" sublime-text
brew cask install --appdir="/Applications" pgadmin3
brew cask install --appdir="/Applications" google-chrome
brew cask install --appdir="/Applications" firefox
brew cask install --appdir="/Applications" filezilla
brew cask install --appdir="/Applications" iterm2
brew cask install --appdir="/Applications" sourcetree
brew cask install --appdir="/Applications" macdown
brew cask install --appdir="/Applications" github-desktop
brew cask install --appdir="/Applications" coda
brew cask install --appdir="/Applications" vlc
brew cask install --appdir="/Applications" alfred
brew cask install --appdir="/Applications" dash
# brew cask install --appdir="/Applications" hipchat
brew cask install --appdir="/Applications" skype
brew cask install --appdir="/Applications" microsoft-office
# brew cask install --appdir="/Applications" pycharm-ce
brew cask install --appdir="/Applications" jiggler
brew cask install --appdir="/Applications" xquartz
brew cask install --appdir="/Applications" google-drive
brew cask install --appdir="/Applications" caffeine
brew cask install --appdir="/Applications" slack
brew cask alfred link
brew cask cleanup
brew install wget
brew install python3
brew install python
brew install postgresql --with-python
brew install mariadb
brew install mongodb
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
brew install chromedriver
brew install chrome-cli
brew install youtube-dl
brew install ffmpeg
brew install ack
brew install autoenv
brew install docker
brew install docker-compose
brew install rabbitmq
pip3 install virtualenv
pip3 install virtualenvwrapper
pip3 install selenium
pip3 install Django
# TODO - Add creation of SSH key.
echo "Please enter email "
read email
ssh-keygen -t rsa -b 4096 -C $email
ssh-add ~/.ssh/id_rsa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment